Skip to content

Commit

Permalink
docs: Regen CLI docs
Browse files Browse the repository at this point in the history
  • Loading branch information
bep committed Sep 7, 2020
1 parent e6cd9da commit 8c490a7
Show file tree
Hide file tree
Showing 36 changed files with 80 additions and 75 deletions.
7 changes: 4 additions & 3 deletions docs/content/en/commands/hugo.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
date: 2020-03-03
date: 2020-09-07
title: "hugo"
slug: hugo
url: /commands/hugo/
Expand All @@ -15,7 +15,7 @@ hugo is the main command, used to build your Hugo site.
Hugo is a Fast and Flexible Static Site Generator
built with love by spf13 and friends in Go.

Complete documentation is available at https://gohugo.io/.
Complete documentation is available at http://gohugo.io/.

```
hugo [flags]
Expand Down Expand Up @@ -51,6 +51,7 @@ hugo [flags]
--noChmod don't sync permission mode of files
--noTimes don't sync modification time of files
--path-warnings print warnings on duplicate target paths etc.
--print-mem print memory usage to screen at intervals
--quiet build in quiet mode
--renderToMemory render to memory (only useful for benchmark testing)
-s, --source string filesystem path to read files relative from
Expand Down Expand Up @@ -79,4 +80,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 3-Mar-2020
###### Auto generated by spf13/cobra on 7-Sep-2020
4 changes: 2 additions & 2 deletions docs/content/en/commands/hugo_check.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
date: 2020-03-03
date: 2020-09-07
title: "hugo check"
slug: hugo_check
url: /commands/hugo_check/
Expand Down Expand Up @@ -40,4 +40,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 3-Mar-2020
###### Auto generated by spf13/cobra on 7-Sep-2020
4 changes: 2 additions & 2 deletions docs/content/en/commands/hugo_check_ulimit.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
date: 2020-03-03
date: 2020-09-07
title: "hugo check ulimit"
slug: hugo_check_ulimit
url: /commands/hugo_check_ulimit/
Expand Down Expand Up @@ -44,4 +44,4 @@ hugo check ulimit [flags]

* [hugo check](/commands/hugo_check/) - Contains some verification checks

###### Auto generated by spf13/cobra on 3-Mar-2020
###### Auto generated by spf13/cobra on 7-Sep-2020
4 changes: 2 additions & 2 deletions docs/content/en/commands/hugo_config.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
date: 2020-03-03
date: 2020-09-07
title: "hugo config"
slug: hugo_config
url: /commands/hugo_config/
Expand Down Expand Up @@ -44,4 +44,4 @@ hugo config [flags]
* [hugo](/commands/hugo/) - hugo builds your site
* [hugo config mounts](/commands/hugo_config_mounts/) - Print the configured file mounts

###### Auto generated by spf13/cobra on 3-Mar-2020
###### Auto generated by spf13/cobra on 7-Sep-2020
4 changes: 2 additions & 2 deletions docs/content/en/commands/hugo_config_mounts.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
date: 2020-03-03
date: 2020-09-07
title: "hugo config mounts"
slug: hugo_config_mounts
url: /commands/hugo_config_mounts/
Expand Down Expand Up @@ -43,4 +43,4 @@ hugo config mounts [flags]

* [hugo config](/commands/hugo_config/) - Print the site configuration

###### Auto generated by spf13/cobra on 3-Mar-2020
###### Auto generated by spf13/cobra on 7-Sep-2020
4 changes: 2 additions & 2 deletions docs/content/en/commands/hugo_convert.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
date: 2020-03-03
date: 2020-09-07
title: "hugo convert"
slug: hugo_convert
url: /commands/hugo_convert/
Expand Down Expand Up @@ -46,4 +46,4 @@ See convert's subcommands toJSON, toTOML and toYAML for more information.
* [hugo convert toTOML](/commands/hugo_convert_totoml/) - Convert front matter to TOML
* [hugo convert toYAML](/commands/hugo_convert_toyaml/) - Convert front matter to YAML

###### Auto generated by spf13/cobra on 3-Mar-2020
###### Auto generated by spf13/cobra on 7-Sep-2020
4 changes: 2 additions & 2 deletions docs/content/en/commands/hugo_convert_toJSON.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
date: 2020-03-03
date: 2020-09-07
title: "hugo convert toJSON"
slug: hugo_convert_toJSON
url: /commands/hugo_convert_tojson/
Expand Down Expand Up @@ -46,4 +46,4 @@ hugo convert toJSON [flags]

* [hugo convert](/commands/hugo_convert/) - Convert your content to different formats

###### Auto generated by spf13/cobra on 3-Mar-2020
###### Auto generated by spf13/cobra on 7-Sep-2020
4 changes: 2 additions & 2 deletions docs/content/en/commands/hugo_convert_toTOML.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
date: 2020-03-03
date: 2020-09-07
title: "hugo convert toTOML"
slug: hugo_convert_toTOML
url: /commands/hugo_convert_totoml/
Expand Down Expand Up @@ -46,4 +46,4 @@ hugo convert toTOML [flags]

* [hugo convert](/commands/hugo_convert/) - Convert your content to different formats

###### Auto generated by spf13/cobra on 3-Mar-2020
###### Auto generated by spf13/cobra on 7-Sep-2020
4 changes: 2 additions & 2 deletions docs/content/en/commands/hugo_convert_toYAML.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
date: 2020-03-03
date: 2020-09-07
title: "hugo convert toYAML"
slug: hugo_convert_toYAML
url: /commands/hugo_convert_toyaml/
Expand Down Expand Up @@ -46,4 +46,4 @@ hugo convert toYAML [flags]

* [hugo convert](/commands/hugo_convert/) - Convert your content to different formats

###### Auto generated by spf13/cobra on 3-Mar-2020
###### Auto generated by spf13/cobra on 7-Sep-2020
4 changes: 2 additions & 2 deletions docs/content/en/commands/hugo_deploy.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
date: 2020-03-03
date: 2020-09-07
title: "hugo deploy"
slug: hugo_deploy
url: /commands/hugo_deploy/
Expand Down Expand Up @@ -53,4 +53,4 @@ hugo deploy [flags]

* [hugo](/commands/hugo/) - hugo builds your site

###### Auto generated by spf13/cobra on 3-Mar-2020
###### Auto generated by spf13/cobra on 7-Sep-2020
4 changes: 2 additions & 2 deletions docs/content/en/commands/hugo_env.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
date: 2020-03-03
date: 2020-09-07
title: "hugo env"
slug: hugo_env
url: /commands/hugo_env/
Expand Down Expand Up @@ -43,4 +43,4 @@ hugo env [flags]

* [hugo](/commands/hugo/) - hugo builds your site

###### Auto generated by spf13/cobra on 3-Mar-2020
###### Auto generated by spf13/cobra on 7-Sep-2020
4 changes: 2 additions & 2 deletions docs/content/en/commands/hugo_gen.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
date: 2020-03-03
date: 2020-09-07
title: "hugo gen"
slug: hugo_gen
url: /commands/hugo_gen/
Expand Down Expand Up @@ -43,4 +43,4 @@ A collection of several useful generators.
* [hugo gen doc](/commands/hugo_gen_doc/) - Generate Markdown documentation for the Hugo CLI.
* [hugo gen man](/commands/hugo_gen_man/) - Generate man pages for the Hugo CLI

###### Auto generated by spf13/cobra on 3-Mar-2020
###### Auto generated by spf13/cobra on 7-Sep-2020
4 changes: 2 additions & 2 deletions docs/content/en/commands/hugo_gen_autocomplete.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
date: 2020-03-03
date: 2020-09-07
title: "hugo gen autocomplete"
slug: hugo_gen_autocomplete
url: /commands/hugo_gen_autocomplete/
Expand Down Expand Up @@ -61,4 +61,4 @@ hugo gen autocomplete [flags]

* [hugo gen](/commands/hugo_gen/) - A collection of several useful generators.

###### Auto generated by spf13/cobra on 3-Mar-2020
###### Auto generated by spf13/cobra on 7-Sep-2020
4 changes: 2 additions & 2 deletions docs/content/en/commands/hugo_gen_chromastyles.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
date: 2020-03-03
date: 2020-09-07
title: "hugo gen chromastyles"
slug: hugo_gen_chromastyles
url: /commands/hugo_gen_chromastyles/
Expand Down Expand Up @@ -48,4 +48,4 @@ hugo gen chromastyles [flags]

* [hugo gen](/commands/hugo_gen/) - A collection of several useful generators.

###### Auto generated by spf13/cobra on 3-Mar-2020
###### Auto generated by spf13/cobra on 7-Sep-2020
6 changes: 3 additions & 3 deletions docs/content/en/commands/hugo_gen_doc.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
date: 2020-03-03
date: 2020-09-07
title: "hugo gen doc"
slug: hugo_gen_doc
url: /commands/hugo_gen_doc/
Expand All @@ -13,7 +13,7 @@ Generate Markdown documentation for the Hugo CLI.
Generate Markdown documentation for the Hugo CLI.

This command is, mostly, used to create up-to-date documentation
of Hugo's command-line interface for https://gohugo.io/.
of Hugo's command-line interface for http://gohugo.io/.

It creates one Markdown file per command with front matter suitable
for rendering in Hugo.
Expand Down Expand Up @@ -50,4 +50,4 @@ hugo gen doc [flags]

* [hugo gen](/commands/hugo_gen/) - A collection of several useful generators.

###### Auto generated by spf13/cobra on 3-Mar-2020
###### Auto generated by spf13/cobra on 7-Sep-2020
4 changes: 2 additions & 2 deletions docs/content/en/commands/hugo_gen_man.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
date: 2020-03-03
date: 2020-09-07
title: "hugo gen man"
slug: hugo_gen_man
url: /commands/hugo_gen_man/
Expand Down Expand Up @@ -46,4 +46,4 @@ hugo gen man [flags]

* [hugo gen](/commands/hugo_gen/) - A collection of several useful generators.

###### Auto generated by spf13/cobra on 3-Mar-2020
###### Auto generated by spf13/cobra on 7-Sep-2020
4 changes: 2 additions & 2 deletions docs/content/en/commands/hugo_import.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
date: 2020-03-03
date: 2020-09-07
title: "hugo import"
slug: hugo_import
url: /commands/hugo_import/
Expand Down Expand Up @@ -42,4 +42,4 @@ Import requires a subcommand, e.g. `hugo import jekyll jekyll_root_path target_p
* [hugo](/commands/hugo/) - hugo builds your site
* [hugo import jekyll](/commands/hugo_import_jekyll/) - hugo import from Jekyll

###### Auto generated by spf13/cobra on 3-Mar-2020
###### Auto generated by spf13/cobra on 7-Sep-2020
4 changes: 2 additions & 2 deletions docs/content/en/commands/hugo_import_jekyll.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
date: 2020-03-03
date: 2020-09-07
title: "hugo import jekyll"
slug: hugo_import_jekyll
url: /commands/hugo_import_jekyll/
Expand Down Expand Up @@ -46,4 +46,4 @@ hugo import jekyll [flags]

* [hugo import](/commands/hugo_import/) - Import your site from others.

###### Auto generated by spf13/cobra on 3-Mar-2020
###### Auto generated by spf13/cobra on 7-Sep-2020
4 changes: 2 additions & 2 deletions docs/content/en/commands/hugo_list.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
date: 2020-03-03
date: 2020-09-07
title: "hugo list"
slug: hugo_list
url: /commands/hugo_list/
Expand Down Expand Up @@ -45,4 +45,4 @@ List requires a subcommand, e.g. `hugo list drafts`.
* [hugo list expired](/commands/hugo_list_expired/) - List all posts already expired
* [hugo list future](/commands/hugo_list_future/) - List all posts dated in the future

###### Auto generated by spf13/cobra on 3-Mar-2020
###### Auto generated by spf13/cobra on 7-Sep-2020
4 changes: 2 additions & 2 deletions docs/content/en/commands/hugo_list_all.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
date: 2020-03-03
date: 2020-09-07
title: "hugo list all"
slug: hugo_list_all
url: /commands/hugo_list_all/
Expand Down Expand Up @@ -43,4 +43,4 @@ hugo list all [flags]

* [hugo list](/commands/hugo_list/) - Listing out various types of content

###### Auto generated by spf13/cobra on 3-Mar-2020
###### Auto generated by spf13/cobra on 7-Sep-2020
4 changes: 2 additions & 2 deletions docs/content/en/commands/hugo_list_drafts.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
date: 2020-03-03
date: 2020-09-07
title: "hugo list drafts"
slug: hugo_list_drafts
url: /commands/hugo_list_drafts/
Expand Down Expand Up @@ -43,4 +43,4 @@ hugo list drafts [flags]

* [hugo list](/commands/hugo_list/) - Listing out various types of content

###### Auto generated by spf13/cobra on 3-Mar-2020
###### Auto generated by spf13/cobra on 7-Sep-2020
4 changes: 2 additions & 2 deletions docs/content/en/commands/hugo_list_expired.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
date: 2020-03-03
date: 2020-09-07
title: "hugo list expired"
slug: hugo_list_expired
url: /commands/hugo_list_expired/
Expand Down Expand Up @@ -43,4 +43,4 @@ hugo list expired [flags]

* [hugo list](/commands/hugo_list/) - Listing out various types of content

###### Auto generated by spf13/cobra on 3-Mar-2020
###### Auto generated by spf13/cobra on 7-Sep-2020
4 changes: 2 additions & 2 deletions docs/content/en/commands/hugo_list_future.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
date: 2020-03-03
date: 2020-09-07
title: "hugo list future"
slug: hugo_list_future
url: /commands/hugo_list_future/
Expand Down Expand Up @@ -43,4 +43,4 @@ hugo list future [flags]

* [hugo list](/commands/hugo_list/) - Listing out various types of content

###### Auto generated by spf13/cobra on 3-Mar-2020
###### Auto generated by spf13/cobra on 7-Sep-2020
5 changes: 3 additions & 2 deletions docs/content/en/commands/hugo_mod.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
date: 2020-03-03
date: 2020-09-07
title: "hugo mod"
slug: hugo_mod
url: /commands/hugo_mod/
Expand Down Expand Up @@ -47,6 +47,7 @@ See https://gohugo.io/hugo-modules/ for more information.
--noChmod don't sync permission mode of files
--noTimes don't sync modification time of files
--path-warnings print warnings on duplicate target paths etc.
--print-mem print memory usage to screen at intervals
--templateMetrics display metrics about template executions
--templateMetricsHints calculate some improvement hints when combined with --templateMetrics
-t, --theme strings themes to use (located in /themes/THEMENAME/)
Expand Down Expand Up @@ -81,4 +82,4 @@ See https://gohugo.io/hugo-modules/ for more information.
* [hugo mod vendor](/commands/hugo_mod_vendor/) - Vendor all module dependencies into the _vendor directory.
* [hugo mod verify](/commands/hugo_mod_verify/) - Verify dependencies.

###### Auto generated by spf13/cobra on 3-Mar-2020
###### Auto generated by spf13/cobra on 7-Sep-2020
5 changes: 3 additions & 2 deletions docs/content/en/commands/hugo_mod_clean.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
date: 2020-03-03
date: 2020-09-07
title: "hugo mod clean"
slug: hugo_mod_clean
url: /commands/hugo_mod_clean/
Expand All @@ -15,6 +15,7 @@ Delete the Hugo Module cache for the current project.
Note that after you run this command, all of your dependencies will be re-downloaded next time you run "hugo".

Also note that if you configure a positive maxAge for the "modules" file cache, it will also be cleaned as part of "hugo --gc".



```
Expand Down Expand Up @@ -50,4 +51,4 @@ hugo mod clean [flags]

* [hugo mod](/commands/hugo_mod/) - Various Hugo Modules helpers.

###### Auto generated by spf13/cobra on 3-Mar-2020
###### Auto generated by spf13/cobra on 7-Sep-2020
6 changes: 3 additions & 3 deletions docs/content/en/commands/hugo_mod_get.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
date: 2020-03-03
date: 2020-09-07
title: "hugo mod get"
slug: hugo_mod_get
url: /commands/hugo_mod_get/
Expand All @@ -18,7 +18,7 @@ Some examples:
Install the latest version possible for a given module:

hugo mod get github.com/gohugoio/testshortcodes

Install a specific version:

hugo mod get github.com/gohugoio/[email protected]
Expand Down Expand Up @@ -69,4 +69,4 @@ hugo mod get [flags]

* [hugo mod](/commands/hugo_mod/) - Various Hugo Modules helpers.

###### Auto generated by spf13/cobra on 3-Mar-2020
###### Auto generated by spf13/cobra on 7-Sep-2020
Loading

0 comments on commit 8c490a7

Please sign in to comment.