-
-
Notifications
You must be signed in to change notification settings - Fork 367
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
26 changed files
with
342 additions
and
148 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,4 @@ | ||
functions | ||
node_modules | ||
public | ||
resources | ||
yarn-error.log | ||
resources |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,7 +6,7 @@ | |
|
||
[[docs]] | ||
name = "Help" | ||
weight = 50 | ||
weight = 60 | ||
identifier = "help" | ||
url = "/docs/help/" | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,36 +1,47 @@ | ||
# Meta Data for SEO | ||
|
||
## Homepage | ||
title = "Doks" | ||
titleSeparator = "-" | ||
titleAddition = "Modern Documentation Theme" | ||
description = "Doks is a Hugo theme helping you build modern documentation websites that are secure, fast, and SEO-ready — by default." | ||
|
||
## Open Graph + Twitter Cards | ||
images = ["doks.png"] | ||
|
||
twitterSite = "henkverlinde" | ||
twitterCreator = "henkverlinde" | ||
facebookAuthor = "verlinde.henk" | ||
facebookPublisher = "verlinde.henk" | ||
ogLocale = "en_US" | ||
|
||
## JSON-LD | ||
schemaType = "Organization" | ||
schemaLogo = "logo-doks.png" | ||
schemaTwitter = "https://twitter.com/henkverlinde" | ||
schemaLinkedIn = "https://www.linkedin.com/in/henkverlinde/" | ||
schemaGitHub = "https://github.com/h-enk" | ||
schemaSection = "blog" | ||
|
||
## Sitelinks Search Box | ||
siteLinksSearchBox = false | ||
|
||
## Chrome Browser | ||
themeColor = "#fff" | ||
|
||
# Images | ||
quality = 85 | ||
bgColor = "#fff" | ||
landscapePhotoWidths = [900, 800, 700, 600, 500] | ||
portraitPhotoWidths = [800, 700, 600, 500] | ||
lqipWidth = "20x" | ||
|
||
# Footer | ||
footer = "Powered by <a href=\"https://www.netlify.com/\">Netlify</a>, <a href=\"https://gohugo.io/\">Hugo</a>, and <a href=\"https://getdoks.org/\">Doks</a>" | ||
|
||
# Alert | ||
alert = false | ||
alertText = "Like Doks? <a class=\"alert-link\" href=\"https://github.com/h-enk/doks/stargazers\">Star on GitHub</a>. Thanks!</a>" | ||
|
||
# Edit Page | ||
docsRepo = "https://github.com/h-enk/doks" | ||
editPage = false |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
--- | ||
title: "How to Update" | ||
description: "Regularly update the installed npm packages to keep your Doks website stable, usable, and secure." | ||
lead: "Regularly update the installed npm packages to keep your Doks website stable, usable, and secure." | ||
date: 2020-11-12T13:26:54+01:00 | ||
lastmod: 2020-11-12T13:26:54+01:00 | ||
draft: false | ||
images: [] | ||
menu: | ||
docs: | ||
parent: "help" | ||
weight: 610 | ||
toc: true | ||
--- | ||
|
||
{{< alert icon="💡" text="Learn more about <a href=\"https://docs.npmjs.com/about-semantic-versioning\">semantic versioning</a> and <a href=\"https://docs.npmjs.com/cli/v6/using-npm/semver#advanced-range-syntax\">advanced range syntax</a>." >}} | ||
|
||
## Update npm packages | ||
|
||
Bump the versions in the `devDependencies` section of `./package.json` to your liking, and run: | ||
|
||
```bash | ||
npm update | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
--- | ||
title: "Troubleshooting" | ||
description: "Solutions to common problems." | ||
lead: "Solutions to common problems." | ||
date: 2020-11-12T15:22:20+01:00 | ||
lastmod: 2020-11-12T15:22:20+01:00 | ||
draft: false | ||
images: [] | ||
menu: | ||
docs: | ||
parent: "help" | ||
weight: 620 | ||
toc: true | ||
--- | ||
|
||
## Problems updating npm packages | ||
|
||
Delete the `./node_modules` folder, and run again: | ||
|
||
```bash | ||
npm install | ||
``` | ||
|
||
## Problems with cache | ||
|
||
Delete the temporary directories: | ||
|
||
```bash | ||
npm run clean | ||
``` |
Oops, something went wrong.