diff options
79 files changed, 6251 insertions, 391 deletions
diff --git a/docs/.github/stale.yml b/docs/.github/stale.yml index f10747618..389205294 100644 --- a/docs/.github/stale.yml +++ b/docs/.github/stale.yml @@ -6,6 +6,7 @@ daysUntilClose: 30 exemptLabels: - Keep - Security + - UndocumentedFeature # Label to use when marking an issue as stale staleLabel: Stale # Comment to post when marking an issue as stale. Set to `false` to disable diff --git a/docs/README.md b/docs/README.md index 23c4a6f55..70908ef12 100644 --- a/docs/README.md +++ b/docs/README.md @@ -1,3 +1,5 @@ +[![Netlify Status](https://api.netlify.com/api/v1/badges/e0dbbfc7-34f1-4393-a679-c16e80162705/deploy-status)](https://app.netlify.com/sites/gohugoio/deploys) + # Hugo Docs Documentation site for [Hugo](https://github.com/gohugoio/hugo), the very fast and flexible static site generator built with love in Go. diff --git a/docs/content/en/commands/hugo.md b/docs/content/en/commands/hugo.md index 67880f954..70cb53c29 100644 --- a/docs/content/en/commands/hugo.md +++ b/docs/content/en/commands/hugo.md @@ -1,5 +1,5 @@ --- -date: 2018-12-23 +date: 2019-01-30 title: "hugo" slug: hugo url: /commands/hugo/ @@ -55,7 +55,7 @@ hugo [flags] --stepAnalysis display memory and timing of different steps of the program --templateMetrics display metrics about template executions --templateMetricsHints calculate some improvement hints when combined with --templateMetrics - -t, --theme string theme to use (located in /themes/THEMENAME/) + -t, --theme strings themes to use (located in /themes/THEMENAME/) --themesDir string filesystem path to themes directory -v, --verbose verbose output --verboseLog verbose logging @@ -75,4 +75,4 @@ hugo [flags] * [hugo server](/commands/hugo_server/) - A high performance webserver * [hugo version](/commands/hugo_version/) - Print the version number of Hugo -###### Auto generated by spf13/cobra on 23-Dec-2018 +###### Auto generated by spf13/cobra on 30-Jan-2019 diff --git a/docs/content/en/commands/hugo_benchmark.md b/docs/content/en/commands/hugo_benchmark.md deleted file mode 100644 index e1afe9f7b..000000000 --- a/docs/content/en/commands/hugo_benchmark.md +++ /dev/null @@ -1,72 +0,0 @@ ---- -date: 2018-12-12 -title: "hugo benchmark" -slug: hugo_benchmark -url: /commands/hugo_benchmark/ ---- -## hugo benchmark - -Benchmark Hugo by building a site a number of times. - -### Synopsis - -Hugo can build a site many times over and analyze the running process -creating a benchmark. - -``` -hugo benchmark [flags] -``` - -### Options - -``` - -b, --baseURL string hostname (and path) to the root, e.g. http://spf13.com/ - -D, --buildDrafts include content marked as draft - -E, --buildExpired include expired content - -F, --buildFuture include content with publishdate in the future - --cacheDir string filesystem path to cache directory. Defaults: $TMPDIR/hugo_cache/ - --cleanDestinationDir remove files from destination not found in static directories - -c, --contentDir string filesystem path to content directory - -n, --count int number of times to build the site (default 13) - --cpuprofile string path/filename for the CPU profile file - -d, --destination string filesystem path to write files to - --disableKinds strings disable different kind of pages (home, RSS etc.) - --enableGitInfo add Git revision, date and author info to the pages - -e, --environment string build environment - --forceSyncStatic copy all files when static is changed. - --gc enable to run some cleanup tasks (remove unused cache files) after the build - -h, --help help for benchmark - --i18n-warnings print missing translations - --ignoreCache ignores the cache directory - -l, --layoutDir string filesystem path to layout directory - --memprofile string path/filename for the memory profile file - --minify minify any supported output format (HTML, XML etc.) - --noChmod don't sync permission mode of files - --noTimes don't sync modification time of files - --renderToMemory render to memory (only useful for benchmark testing) - -s, --source string filesystem path to read files relative from - --stepAnalysis display memory and timing of different steps of the program - --templateMetrics display metrics about template executions - --templateMetricsHints calculate some improvement hints when combined with --templateMetrics - -t, --theme string theme to use (located in /themes/THEMENAME/) - --themesDir string filesystem path to themes directory -``` - -### Options inherited from parent commands - -``` - --config string config file (default is path/config.yaml|json|toml) - --configDir string config dir (default "config") - --debug debug output - --log enable Logging - --logFile string log File path (if set, logging enabled automatically) - --quiet build in quiet mode - -v, --verbose verbose output - --verboseLog verbose logging -``` - -### SEE ALSO - -* [hugo](/commands/hugo/) - hugo builds your site - -###### Auto generated by spf13/cobra on 12-Dec-2018 diff --git a/docs/content/en/commands/hugo_check.md b/docs/content/en/commands/hugo_check.md index 7318cb4b5..4e649fb56 100644 --- a/docs/content/en/commands/hugo_check.md +++ b/docs/content/en/commands/hugo_check.md @@ -1,5 +1,5 @@ --- -date: 2018-12-23 +date: 2019-01-30 title: "hugo check" slug: hugo_check url: /commands/hugo_check/ @@ -36,4 +36,4 @@ Contains some verification checks * [hugo](/commands/hugo/) - hugo builds your site * [hugo check ulimit](/commands/hugo_check_ulimit/) - Check system ulimit settings -###### Auto generated by spf13/cobra on 23-Dec-2018 +###### Auto generated by spf13/cobra on 30-Jan-2019 diff --git a/docs/content/en/commands/hugo_check_ulimit.md b/docs/content/en/commands/hugo_check_ulimit.md index 7e0373206..185ef310f 100644 --- a/docs/content/en/commands/hugo_check_ulimit.md +++ b/docs/content/en/commands/hugo_check_ulimit.md @@ -1,5 +1,5 @@ --- -date: 2018-12-23 +date: 2019-01-30 title: "hugo check ulimit" slug: hugo_check_ulimit url: /commands/hugo_check_ulimit/ @@ -40,4 +40,4 @@ hugo check ulimit [flags] * [hugo check](/commands/hugo_check/) - Contains some verification checks -###### Auto generated by spf13/cobra on 23-Dec-2018 +###### Auto generated by spf13/cobra on 30-Jan-2019 diff --git a/docs/content/en/commands/hugo_config.md b/docs/content/en/commands/hugo_config.md index b0970ecd9..c488cc7e0 100644 --- a/docs/content/en/commands/hugo_config.md +++ b/docs/content/en/commands/hugo_config.md @@ -1,5 +1,5 @@ --- -date: 2018-12-23 +date: 2019-01-30 title: "hugo config" slug: hugo_config url: /commands/hugo_config/ @@ -40,4 +40,4 @@ hugo config [flags] * [hugo](/commands/hugo/) - hugo builds your site -###### Auto generated by spf13/cobra on 23-Dec-2018 +###### Auto generated by spf13/cobra on 30-Jan-2019 diff --git a/docs/content/en/commands/hugo_convert.md b/docs/content/en/commands/hugo_convert.md index eb826be45..7f95c3675 100644 --- a/docs/content/en/commands/hugo_convert.md +++ b/docs/content/en/commands/hugo_convert.md @@ -1,5 +1,5 @@ --- -date: 2018-12-23 +date: 2019-01-30 title: "hugo convert" slug: hugo_convert url: /commands/hugo_convert/ @@ -43,4 +43, |