mirror of
https://github.com/gohugoio/hugo.git
synced 2024-11-21 20:46:30 -05:00
Regenerate the commands section of doc
Reason: The `--source` flag was added back to the `hugo new` commands
in commit c1e134f
.
See #1624, #1589
This commit is contained in:
parent
c1e134f1c2
commit
67b4c52466
23 changed files with 49 additions and 46 deletions
|
@ -1,5 +1,5 @@
|
|||
---
|
||||
date: 2015-12-11T09:49:10-07:00
|
||||
date: 2015-12-16T09:24:56-07:00
|
||||
title: "hugo"
|
||||
slug: hugo
|
||||
url: /commands/hugo/
|
||||
|
@ -63,4 +63,4 @@ hugo
|
|||
* [hugo undraft](/commands/hugo_undraft/) - Undraft changes the content's draft status from 'True' to 'False'
|
||||
* [hugo version](/commands/hugo_version/) - Print the version number of Hugo
|
||||
|
||||
###### Auto generated by spf13/cobra on 11-Dec-2015
|
||||
###### Auto generated by spf13/cobra on 16-Dec-2015
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
---
|
||||
date: 2015-12-11T09:49:10-07:00
|
||||
date: 2015-12-16T09:24:56-07:00
|
||||
title: "hugo benchmark"
|
||||
slug: hugo_benchmark
|
||||
url: /commands/hugo_benchmark/
|
||||
|
@ -55,4 +55,4 @@ hugo benchmark
|
|||
### SEE ALSO
|
||||
* [hugo](/commands/hugo/) - hugo builds your site
|
||||
|
||||
###### Auto generated by spf13/cobra on 11-Dec-2015
|
||||
###### Auto generated by spf13/cobra on 16-Dec-2015
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
---
|
||||
date: 2015-12-11T09:49:10-07:00
|
||||
date: 2015-12-16T09:24:56-07:00
|
||||
title: "hugo check"
|
||||
slug: hugo_check
|
||||
url: /commands/hugo_check/
|
||||
|
@ -52,4 +52,4 @@ hugo check
|
|||
### SEE ALSO
|
||||
* [hugo](/commands/hugo/) - hugo builds your site
|
||||
|
||||
###### Auto generated by spf13/cobra on 11-Dec-2015
|
||||
###### Auto generated by spf13/cobra on 16-Dec-2015
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
---
|
||||
date: 2015-12-11T09:49:10-07:00
|
||||
date: 2015-12-16T09:24:56-07:00
|
||||
title: "hugo config"
|
||||
slug: hugo_config
|
||||
url: /commands/hugo_config/
|
||||
|
@ -51,4 +51,4 @@ hugo config
|
|||
### SEE ALSO
|
||||
* [hugo](/commands/hugo/) - hugo builds your site
|
||||
|
||||
###### Auto generated by spf13/cobra on 11-Dec-2015
|
||||
###### Auto generated by spf13/cobra on 16-Dec-2015
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
---
|
||||
date: 2015-12-11T09:49:10-07:00
|
||||
date: 2015-12-16T09:24:56-07:00
|
||||
title: "hugo convert"
|
||||
slug: hugo_convert
|
||||
url: /commands/hugo_convert/
|
||||
|
@ -38,4 +38,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 11-Dec-2015
|
||||
###### Auto generated by spf13/cobra on 16-Dec-2015
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
---
|
||||
date: 2015-12-11T09:49:10-07:00
|
||||
date: 2015-12-16T09:24:56-07:00
|
||||
title: "hugo convert toJSON"
|
||||
slug: hugo_convert_toJSON
|
||||
url: /commands/hugo_convert_tojson/
|
||||
|
@ -33,4 +33,4 @@ hugo convert toJSON
|
|||
### SEE ALSO
|
||||
* [hugo convert](/commands/hugo_convert/) - Convert your content to different formats
|
||||
|
||||
###### Auto generated by spf13/cobra on 11-Dec-2015
|
||||
###### Auto generated by spf13/cobra on 16-Dec-2015
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
---
|
||||
date: 2015-12-11T09:49:10-07:00
|
||||
date: 2015-12-16T09:24:56-07:00
|
||||
title: "hugo convert toTOML"
|
||||
slug: hugo_convert_toTOML
|
||||
url: /commands/hugo_convert_totoml/
|
||||
|
@ -33,4 +33,4 @@ hugo convert toTOML
|
|||
### SEE ALSO
|
||||
* [hugo convert](/commands/hugo_convert/) - Convert your content to different formats
|
||||
|
||||
###### Auto generated by spf13/cobra on 11-Dec-2015
|
||||
###### Auto generated by spf13/cobra on 16-Dec-2015
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
---
|
||||
date: 2015-12-11T09:49:10-07:00
|
||||
date: 2015-12-16T09:24:56-07:00
|
||||
title: "hugo convert toYAML"
|
||||
slug: hugo_convert_toYAML
|
||||
url: /commands/hugo_convert_toyaml/
|
||||
|
@ -33,4 +33,4 @@ hugo convert toYAML
|
|||
### SEE ALSO
|
||||
* [hugo convert](/commands/hugo_convert/) - Convert your content to different formats
|
||||
|
||||
###### Auto generated by spf13/cobra on 11-Dec-2015
|
||||
###### Auto generated by spf13/cobra on 16-Dec-2015
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
---
|
||||
date: 2015-12-11T09:49:10-07:00
|
||||
date: 2015-12-16T09:24:56-07:00
|
||||
title: "hugo gen"
|
||||
slug: hugo_gen
|
||||
url: /commands/hugo_gen/
|
||||
|
@ -28,4 +28,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 11-Dec-2015
|
||||
###### Auto generated by spf13/cobra on 16-Dec-2015
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
---
|
||||
date: 2015-12-11T09:49:10-07:00
|
||||
date: 2015-12-16T09:24:56-07:00
|
||||
title: "hugo gen autocomplete"
|
||||
slug: hugo_gen_autocomplete
|
||||
url: /commands/hugo_gen_autocomplete/
|
||||
|
@ -52,4 +52,4 @@ hugo gen autocomplete
|
|||
### SEE ALSO
|
||||
* [hugo gen](/commands/hugo_gen/) - A collection of several useful generators.
|
||||
|
||||
###### Auto generated by spf13/cobra on 11-Dec-2015
|
||||
###### Auto generated by spf13/cobra on 16-Dec-2015
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
---
|
||||
date: 2015-12-11T09:49:10-07:00
|
||||
date: 2015-12-16T09:24:56-07:00
|
||||
title: "hugo gen doc"
|
||||
slug: hugo_gen_doc
|
||||
url: /commands/hugo_gen_doc/
|
||||
|
@ -41,4 +41,4 @@ hugo gen doc
|
|||
### SEE ALSO
|
||||
* [hugo gen](/commands/hugo_gen/) - A collection of several useful generators.
|
||||
|
||||
###### Auto generated by spf13/cobra on 11-Dec-2015
|
||||
###### Auto generated by spf13/cobra on 16-Dec-2015
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
---
|
||||
date: 2015-12-11T09:49:10-07:00
|
||||
date: 2015-12-16T09:24:56-07:00
|
||||
title: "hugo gen man"
|
||||
slug: hugo_gen_man
|
||||
url: /commands/hugo_gen_man/
|
||||
|
@ -37,4 +37,4 @@ hugo gen man
|
|||
### SEE ALSO
|
||||
* [hugo gen](/commands/hugo_gen/) - A collection of several useful generators.
|
||||
|
||||
###### Auto generated by spf13/cobra on 11-Dec-2015
|
||||
###### Auto generated by spf13/cobra on 16-Dec-2015
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
---
|
||||
date: 2015-12-11T09:49:10-07:00
|
||||
date: 2015-12-16T09:24:56-07:00
|
||||
title: "hugo import"
|
||||
slug: hugo_import
|
||||
url: /commands/hugo_import/
|
||||
|
@ -28,4 +28,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 11-Dec-2015
|
||||
###### Auto generated by spf13/cobra on 16-Dec-2015
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
---
|
||||
date: 2015-12-11T09:49:10-07:00
|
||||
date: 2015-12-16T09:24:56-07:00
|
||||
title: "hugo import jekyll"
|
||||
slug: hugo_import_jekyll
|
||||
url: /commands/hugo_import_jekyll/
|
||||
|
@ -37,4 +37,4 @@ hugo import jekyll
|
|||
### SEE ALSO
|
||||
* [hugo import](/commands/hugo_import/) - Import your site from others.
|
||||
|
||||
###### Auto generated by spf13/cobra on 11-Dec-2015
|
||||
###### Auto generated by spf13/cobra on 16-Dec-2015
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
---
|
||||
date: 2015-12-11T09:49:10-07:00
|
||||
date: 2015-12-16T09:24:56-07:00
|
||||
title: "hugo list"
|
||||
slug: hugo_list
|
||||
url: /commands/hugo_list/
|
||||
|
@ -35,4 +35,4 @@ List requires a subcommand, e.g. `hugo list drafts`.
|
|||
* [hugo list drafts](/commands/hugo_list_drafts/) - List all drafts
|
||||
* [hugo list future](/commands/hugo_list_future/) - List all posts dated in the future
|
||||
|
||||
###### Auto generated by spf13/cobra on 11-Dec-2015
|
||||
###### Auto generated by spf13/cobra on 16-Dec-2015
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
---
|
||||
date: 2015-12-11T09:49:10-07:00
|
||||
date: 2015-12-16T09:24:56-07:00
|
||||
title: "hugo list drafts"
|
||||
slug: hugo_list_drafts
|
||||
url: /commands/hugo_list_drafts/
|
||||
|
@ -30,4 +30,4 @@ hugo list drafts
|
|||
### SEE ALSO
|
||||
* [hugo list](/commands/hugo_list/) - Listing out various types of content
|
||||
|
||||
###### Auto generated by spf13/cobra on 11-Dec-2015
|
||||
###### Auto generated by spf13/cobra on 16-Dec-2015
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
---
|
||||
date: 2015-12-11T09:49:10-07:00
|
||||
date: 2015-12-16T09:24:56-07:00
|
||||
title: "hugo list future"
|
||||
slug: hugo_list_future
|
||||
url: /commands/hugo_list_future/
|
||||
|
@ -31,4 +31,4 @@ hugo list future
|
|||
### SEE ALSO
|
||||
* [hugo list](/commands/hugo_list/) - Listing out various types of content
|
||||
|
||||
###### Auto generated by spf13/cobra on 11-Dec-2015
|
||||
###### Auto generated by spf13/cobra on 16-Dec-2015
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
---
|
||||
date: 2015-12-11T09:49:10-07:00
|
||||
date: 2015-12-16T09:24:56-07:00
|
||||
title: "hugo new"
|
||||
slug: hugo_new
|
||||
url: /commands/hugo_new/
|
||||
|
@ -27,6 +27,7 @@ hugo new [path]
|
|||
```
|
||||
-f, --format="toml": frontmatter format
|
||||
-k, --kind="": Content type to create
|
||||
-s, --source="": filesystem path to read files relative from
|
||||
```
|
||||
|
||||
### Options inherited from parent commands
|
||||
|
@ -43,4 +44,4 @@ hugo new [path]
|
|||
* [hugo new site](/commands/hugo_new_site/) - Create a new site (skeleton)
|
||||
* [hugo new theme](/commands/hugo_new_theme/) - Create a new theme
|
||||
|
||||
###### Auto generated by spf13/cobra on 11-Dec-2015
|
||||
###### Auto generated by spf13/cobra on 16-Dec-2015
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
---
|
||||
date: 2015-12-11T09:49:10-07:00
|
||||
date: 2015-12-16T09:24:56-07:00
|
||||
title: "hugo new site"
|
||||
slug: hugo_new_site
|
||||
url: /commands/hugo_new_site/
|
||||
|
@ -31,6 +31,7 @@ hugo new site [path]
|
|||
```
|
||||
--log[=false]: Enable Logging
|
||||
--logFile="": Log File path (if set, logging enabled automatically)
|
||||
-s, --source="": filesystem path to read files relative from
|
||||
-v, --verbose[=false]: verbose output
|
||||
--verboseLog[=false]: verbose logging
|
||||
```
|
||||
|
@ -38,4 +39,4 @@ hugo new site [path]
|
|||
### SEE ALSO
|
||||
* [hugo new](/commands/hugo_new/) - Create new content for your site
|
||||
|
||||
###### Auto generated by spf13/cobra on 11-Dec-2015
|
||||
###### Auto generated by spf13/cobra on 16-Dec-2015
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
---
|
||||
date: 2015-12-11T09:49:10-07:00
|
||||
date: 2015-12-16T09:24:56-07:00
|
||||
title: "hugo new theme"
|
||||
slug: hugo_new_theme
|
||||
url: /commands/hugo_new_theme/
|
||||
|
@ -25,6 +25,7 @@ hugo new theme [name]
|
|||
```
|
||||
--log[=false]: Enable Logging
|
||||
--logFile="": Log File path (if set, logging enabled automatically)
|
||||
-s, --source="": filesystem path to read files relative from
|
||||
-v, --verbose[=false]: verbose output
|
||||
--verboseLog[=false]: verbose logging
|
||||
```
|
||||
|
@ -32,4 +33,4 @@ hugo new theme [name]
|
|||
### SEE ALSO
|
||||
* [hugo new](/commands/hugo_new/) - Create new content for your site
|
||||
|
||||
###### Auto generated by spf13/cobra on 11-Dec-2015
|
||||
###### Auto generated by spf13/cobra on 16-Dec-2015
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
---
|
||||
date: 2015-12-11T09:49:10-07:00
|
||||
date: 2015-12-16T09:24:56-07:00
|
||||
title: "hugo server"
|
||||
slug: hugo_server
|
||||
url: /commands/hugo_server/
|
||||
|
@ -71,4 +71,4 @@ hugo server
|
|||
### SEE ALSO
|
||||
* [hugo](/commands/hugo/) - hugo builds your site
|
||||
|
||||
###### Auto generated by spf13/cobra on 11-Dec-2015
|
||||
###### Auto generated by spf13/cobra on 16-Dec-2015
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
---
|
||||
date: 2015-12-11T09:49:10-07:00
|
||||
date: 2015-12-16T09:24:56-07:00
|
||||
title: "hugo undraft"
|
||||
slug: hugo_undraft
|
||||
url: /commands/hugo_undraft/
|
||||
|
@ -31,4 +31,4 @@ hugo undraft path/to/content
|
|||
### SEE ALSO
|
||||
* [hugo](/commands/hugo/) - hugo builds your site
|
||||
|
||||
###### Auto generated by spf13/cobra on 11-Dec-2015
|
||||
###### Auto generated by spf13/cobra on 16-Dec-2015
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
---
|
||||
date: 2015-12-11T09:49:10-07:00
|
||||
date: 2015-12-16T09:24:56-07:00
|
||||
title: "hugo version"
|
||||
slug: hugo_version
|
||||
url: /commands/hugo_version/
|
||||
|
@ -29,4 +29,4 @@ hugo version
|
|||
### SEE ALSO
|
||||
* [hugo](/commands/hugo/) - hugo builds your site
|
||||
|
||||
###### Auto generated by spf13/cobra on 11-Dec-2015
|
||||
###### Auto generated by spf13/cobra on 16-Dec-2015
|
||||
|
|
Loading…
Reference in a new issue