mirror of
https://github.com/gohugoio/hugo.git
synced 2025-03-20 20:21:46 +00:00
Fix CLI command description for the top level
And regenerate the commands doc.
This commit is contained in:
parent
fc946ded29
commit
be831d7409
21 changed files with 150 additions and 72 deletions
|
@ -42,8 +42,10 @@ import (
|
|||
//HugoCmd is Hugo's root command. Every other command attached to HugoCmd is a child command to it.
|
||||
var HugoCmd = &cobra.Command{
|
||||
Use: "hugo",
|
||||
Short: "Hugo is a very fast static site generator",
|
||||
Long: `A Fast and Flexible Static Site Generator built with
|
||||
Short: "hugo builds your site",
|
||||
Long: `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 http://gohugo.io`,
|
||||
|
|
|
@ -1,17 +1,19 @@
|
|||
---
|
||||
date: 2015-05-13T11:12:54+02:00
|
||||
date: 2015-05-21T13:28:49+02:00
|
||||
title: "hugo"
|
||||
slug: hugo
|
||||
url: /commands/hugo/
|
||||
---
|
||||
## hugo
|
||||
|
||||
Hugo is a very fast static site generator
|
||||
hugo builds your site
|
||||
|
||||
### Synopsis
|
||||
|
||||
|
||||
A Fast and Flexible Static Site Generator built with
|
||||
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 http://gohugo.io
|
||||
|
@ -25,7 +27,7 @@ hugo
|
|||
```
|
||||
-b, --baseUrl="": hostname (and path) to the root eg. http://spf13.com/
|
||||
-D, --buildDrafts=false: include content marked as draft
|
||||
-F, --buildFuture=false: include content with datePublished in the future
|
||||
-F, --buildFuture=false: include content with publishdate in the future
|
||||
--cacheDir="": filesystem path to cache directory. Defaults: $TMPDIR/hugo_cache/
|
||||
--config="": config file (default is path/config.yaml|json|toml)
|
||||
-d, --destination="": filesystem path to write files to
|
||||
|
@ -52,6 +54,7 @@ hugo
|
|||
* [hugo check](/commands/hugo_check/) - Check content in the source directory
|
||||
* [hugo config](/commands/hugo_config/) - Print the site configuration
|
||||
* [hugo convert](/commands/hugo_convert/) - Convert will modify your content to different formats
|
||||
* [hugo genautocomplete](/commands/hugo_genautocomplete/) - Generate shell autocompletion script for Hugo
|
||||
* [hugo gendoc](/commands/hugo_gendoc/) - Generate Markdown documentation for the Hugo CLI.
|
||||
* [hugo help](/commands/hugo_help/) - Help about any command
|
||||
* [hugo list](/commands/hugo_list/) - Listing out various types of content
|
||||
|
@ -60,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 at 2015-05-13 09:12:54.405595583 +0000 UTC
|
||||
###### Auto generated by spf13/cobra at 2015-05-21 11:28:49.115941591 +0000 UTC
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
---
|
||||
date: 2015-05-13T11:12:54+02:00
|
||||
date: 2015-05-21T13:28:49+02:00
|
||||
title: "hugo benchmark"
|
||||
slug: hugo_benchmark
|
||||
url: /commands/hugo_benchmark/
|
||||
|
@ -32,7 +32,7 @@ hugo benchmark
|
|||
```
|
||||
-b, --baseUrl="": hostname (and path) to the root eg. http://spf13.com/
|
||||
-D, --buildDrafts=false: include content marked as draft
|
||||
-F, --buildFuture=false: include content with datePublished in the future
|
||||
-F, --buildFuture=false: include content with publishdate in the future
|
||||
--cacheDir="": filesystem path to cache directory. Defaults: $TMPDIR/hugo_cache/
|
||||
--config="": config file (default is path/config.yaml|json|toml)
|
||||
-d, --destination="": filesystem path to write files to
|
||||
|
@ -52,6 +52,6 @@ hugo benchmark
|
|||
```
|
||||
|
||||
### SEE ALSO
|
||||
* [hugo](/commands/hugo/) - Hugo is a very fast static site generator
|
||||
* [hugo](/commands/hugo/) - hugo builds your site
|
||||
|
||||
###### Auto generated by spf13/cobra at 2015-05-13 09:12:54.401475254 +0000 UTC
|
||||
###### Auto generated by spf13/cobra at 2015-05-21 11:28:49.109804306 +0000 UTC
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
---
|
||||
date: 2015-05-13T11:12:54+02:00
|
||||
date: 2015-05-21T13:28:49+02:00
|
||||
title: "hugo check"
|
||||
slug: hugo_check
|
||||
url: /commands/hugo_check/
|
||||
|
@ -29,7 +29,7 @@ hugo check
|
|||
```
|
||||
-b, --baseUrl="": hostname (and path) to the root eg. http://spf13.com/
|
||||
-D, --buildDrafts=false: include content marked as draft
|
||||
-F, --buildFuture=false: include content with datePublished in the future
|
||||
-F, --buildFuture=false: include content with publishdate in the future
|
||||
--cacheDir="": filesystem path to cache directory. Defaults: $TMPDIR/hugo_cache/
|
||||
--config="": config file (default is path/config.yaml|json|toml)
|
||||
-d, --destination="": filesystem path to write files to
|
||||
|
@ -49,6 +49,6 @@ hugo check
|
|||
```
|
||||
|
||||
### SEE ALSO
|
||||
* [hugo](/commands/hugo/) - Hugo is a very fast static site generator
|
||||
* [hugo](/commands/hugo/) - hugo builds your site
|
||||
|
||||
###### Auto generated by spf13/cobra at 2015-05-13 09:12:54.401086213 +0000 UTC
|
||||
###### Auto generated by spf13/cobra at 2015-05-21 11:28:49.109462328 +0000 UTC
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
---
|
||||
date: 2015-05-13T11:12:54+02:00
|
||||
date: 2015-05-21T13:28:49+02:00
|
||||
title: "hugo config"
|
||||
slug: hugo_config
|
||||
url: /commands/hugo_config/
|
||||
|
@ -28,7 +28,7 @@ hugo config
|
|||
```
|
||||
-b, --baseUrl="": hostname (and path) to the root eg. http://spf13.com/
|
||||
-D, --buildDrafts=false: include content marked as draft
|
||||
-F, --buildFuture=false: include content with datePublished in the future
|
||||
-F, --buildFuture=false: include content with publishdate in the future
|
||||
--cacheDir="": filesystem path to cache directory. Defaults: $TMPDIR/hugo_cache/
|
||||
--config="": config file (default is path/config.yaml|json|toml)
|
||||
-d, --destination="": filesystem path to write files to
|
||||
|
@ -48,6 +48,6 @@ hugo config
|
|||
```
|
||||
|
||||
### SEE ALSO
|
||||
* [hugo](/commands/hugo/) - Hugo is a very fast static site generator
|
||||
* [hugo](/commands/hugo/) - hugo builds your site
|
||||
|
||||
###### Auto generated by spf13/cobra at 2015-05-13 09:12:54.400622559 +0000 UTC
|
||||
###### Auto generated by spf13/cobra at 2015-05-21 11:28:49.109132996 +0000 UTC
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
---
|
||||
date: 2015-05-13T11:12:54+02:00
|
||||
date: 2015-05-21T13:28:49+02:00
|
||||
title: "hugo convert"
|
||||
slug: hugo_convert
|
||||
url: /commands/hugo_convert/
|
||||
|
@ -26,7 +26,7 @@ Convert will modify your content to different formats
|
|||
```
|
||||
-b, --baseUrl="": hostname (and path) to the root eg. http://spf13.com/
|
||||
-D, --buildDrafts=false: include content marked as draft
|
||||
-F, --buildFuture=false: include content with datePublished in the future
|
||||
-F, --buildFuture=false: include content with publishdate in the future
|
||||
--cacheDir="": filesystem path to cache directory. Defaults: $TMPDIR/hugo_cache/
|
||||
--config="": config file (default is path/config.yaml|json|toml)
|
||||
-d, --destination="": filesystem path to write files to
|
||||
|
@ -46,9 +46,9 @@ Convert will modify your content to different formats
|
|||
```
|
||||
|
||||
### SEE ALSO
|
||||
* [hugo](/commands/hugo/) - Hugo is a very fast static site generator
|
||||
* [hugo](/commands/hugo/) - hugo builds your site
|
||||
* [hugo convert toJSON](/commands/hugo_convert_tojson/) - Convert front matter to JSON
|
||||
* [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 at 2015-05-13 09:12:54.402534559 +0000 UTC
|
||||
###### Auto generated by spf13/cobra at 2015-05-21 11:28:49.111041667 +0000 UTC
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
---
|
||||
date: 2015-05-13T11:12:54+02:00
|
||||
date: 2015-05-21T13:28:49+02:00
|
||||
title: "hugo convert toJSON"
|
||||
slug: hugo_convert_toJSON
|
||||
url: /commands/hugo_convert_tojson/
|
||||
|
@ -29,7 +29,7 @@ hugo convert toJSON
|
|||
```
|
||||
-b, --baseUrl="": hostname (and path) to the root eg. http://spf13.com/
|
||||
-D, --buildDrafts=false: include content marked as draft
|
||||
-F, --buildFuture=false: include content with datePublished in the future
|
||||
-F, --buildFuture=false: include content with publishdate in the future
|
||||
--cacheDir="": filesystem path to cache directory. Defaults: $TMPDIR/hugo_cache/
|
||||
--config="": config file (default is path/config.yaml|json|toml)
|
||||
-d, --destination="": filesystem path to write files to
|
||||
|
@ -53,4 +53,4 @@ hugo convert toJSON
|
|||
### SEE ALSO
|
||||
* [hugo convert](/commands/hugo_convert/) - Convert will modify your content to different formats
|
||||
|
||||
###### Auto generated by spf13/cobra at 2015-05-13 09:12:54.401801119 +0000 UTC
|
||||
###### Auto generated by spf13/cobra at 2015-05-21 11:28:49.110137636 +0000 UTC
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
---
|
||||
date: 2015-05-13T11:12:54+02:00
|
||||
date: 2015-05-21T13:28:49+02:00
|
||||
title: "hugo convert toTOML"
|
||||
slug: hugo_convert_toTOML
|
||||
url: /commands/hugo_convert_totoml/
|
||||
|
@ -29,7 +29,7 @@ hugo convert toTOML
|
|||
```
|
||||
-b, --baseUrl="": hostname (and path) to the root eg. http://spf13.com/
|
||||
-D, --buildDrafts=false: include content marked as draft
|
||||
-F, --buildFuture=false: include content with datePublished in the future
|
||||
-F, --buildFuture=false: include content with publishdate in the future
|
||||
--cacheDir="": filesystem path to cache directory. Defaults: $TMPDIR/hugo_cache/
|
||||
--config="": config file (default is path/config.yaml|json|toml)
|
||||
-d, --destination="": filesystem path to write files to
|
||||
|
@ -53,4 +53,4 @@ hugo convert toTOML
|
|||
### SEE ALSO
|
||||
* [hugo convert](/commands/hugo_convert/) - Convert will modify your content to different formats
|
||||
|
||||
###### Auto generated by spf13/cobra at 2015-05-13 09:12:54.402055756 +0000 UTC
|
||||
###### Auto generated by spf13/cobra at 2015-05-21 11:28:49.110499974 +0000 UTC
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
---
|
||||
date: 2015-05-13T11:12:54+02:00
|
||||
date: 2015-05-21T13:28:49+02:00
|
||||
title: "hugo convert toYAML"
|
||||
slug: hugo_convert_toYAML
|
||||
url: /commands/hugo_convert_toyaml/
|
||||
|
@ -29,7 +29,7 @@ hugo convert toYAML
|
|||
```
|
||||
-b, --baseUrl="": hostname (and path) to the root eg. http://spf13.com/
|
||||
-D, --buildDrafts=false: include content marked as draft
|
||||
-F, --buildFuture=false: include content with datePublished in the future
|
||||
-F, --buildFuture=false: include content with publishdate in the future
|
||||
--cacheDir="": filesystem path to cache directory. Defaults: $TMPDIR/hugo_cache/
|
||||
--config="": config file (default is path/config.yaml|json|toml)
|
||||
-d, --destination="": filesystem path to write files to
|
||||
|
@ -53,4 +53,4 @@ hugo convert toYAML
|
|||
### SEE ALSO
|
||||
* [hugo convert](/commands/hugo_convert/) - Convert will modify your content to different formats
|
||||
|
||||
###### Auto generated by spf13/cobra at 2015-05-13 09:12:54.402296833 +0000 UTC
|
||||
###### Auto generated by spf13/cobra at 2015-05-21 11:28:49.110796632 +0000 UTC
|
||||
|
|
68
docs/content/commands/hugo_genautocomplete.md
Normal file
68
docs/content/commands/hugo_genautocomplete.md
Normal file
|
@ -0,0 +1,68 @@
|
|||
---
|
||||
date: 2015-05-21T13:28:49+02:00
|
||||
title: "hugo genautocomplete"
|
||||
slug: hugo_genautocomplete
|
||||
url: /commands/hugo_genautocomplete/
|
||||
---
|
||||
## hugo genautocomplete
|
||||
|
||||
Generate shell autocompletion script for Hugo
|
||||
|
||||
### Synopsis
|
||||
|
||||
|
||||
Generates a shell autocompletion script for Hugo.
|
||||
|
||||
NOTE: The current version supports Bash only. This should work for *nix systems with Bash installed.
|
||||
|
||||
By default the file is written directly to /etc/bash_completion.d for convenience and the command may need superuser rights, e.g:
|
||||
|
||||
sudo hugo genautocomplete
|
||||
|
||||
Add --completionfile=/path/to/file flag to set alternative file-path and name.
|
||||
|
||||
Logout and in again to reload the completion scripts or just source them in directly:
|
||||
|
||||
. /etc/bash_completion
|
||||
|
||||
|
||||
```
|
||||
hugo genautocomplete
|
||||
```
|
||||
|
||||
### Options
|
||||
|
||||
```
|
||||
--completionfile="/etc/bash_completion.d/hugo.sh": Autocompletion file
|
||||
-h, --help=false: help for genautocomplete
|
||||
--type="bash": Autocompletion type (currently only bash supported)
|
||||
```
|
||||
|
||||
### Options inherited from parent commands
|
||||
|
||||
```
|
||||
-b, --baseUrl="": hostname (and path) to the root eg. http://spf13.com/
|
||||
-D, --buildDrafts=false: include content marked as draft
|
||||
-F, --buildFuture=false: include content with publishdate in the future
|
||||
--cacheDir="": filesystem path to cache directory. Defaults: $TMPDIR/hugo_cache/
|
||||
--config="": config file (default is path/config.yaml|json|toml)
|
||||
-d, --destination="": filesystem path to write files to
|
||||
--disableRSS=false: Do not build RSS files
|
||||
--disableSitemap=false: Do not build Sitemap file
|
||||
--editor="": edit new content with this editor, if provided
|
||||
--ignoreCache=false: Ignores the cache directory for reading but still writes to it
|
||||
--log=false: Enable Logging
|
||||
--logFile="": Log File path (if set, logging enabled automatically)
|
||||
--pluralizeListTitles=true: Pluralize titles in lists using inflect
|
||||
-s, --source="": filesystem path to read files relative from
|
||||
--stepAnalysis=false: display memory and timing of different steps of the program
|
||||
-t, --theme="": theme to use (located in /themes/THEMENAME/)
|
||||
--uglyUrls=false: if true, use /filename.html instead of /filename/
|
||||
-v, --verbose=false: verbose output
|
||||
--verboseLog=false: verbose logging
|
||||
```
|
||||
|
||||
### SEE ALSO
|
||||
* [hugo](/commands/hugo/) - hugo builds your site
|
||||
|
||||
###### Auto generated by spf13/cobra at 2015-05-21 11:28:49.112744005 +0000 UTC
|
|
@ -1,5 +1,5 @@
|
|||
---
|
||||
date: 2015-05-13T11:12:54+02:00
|
||||
date: 2015-05-21T13:28:49+02:00
|
||||
title: "hugo gendoc"
|
||||
slug: hugo_gendoc
|
||||
url: /commands/hugo_gendoc/
|
||||
|
@ -12,6 +12,11 @@ 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 for gohugo.io.
|
||||
|
||||
It creates one Markdown file per command with front matter suitable for rendering in Hugo.
|
||||
|
||||
|
||||
```
|
||||
hugo gendoc
|
||||
|
@ -29,7 +34,7 @@ hugo gendoc
|
|||
```
|
||||
-b, --baseUrl="": hostname (and path) to the root eg. http://spf13.com/
|
||||
-D, --buildDrafts=false: include content marked as draft
|
||||
-F, --buildFuture=false: include content with datePublished in the future
|
||||
-F, --buildFuture=false: include content with publishdate in the future
|
||||
--cacheDir="": filesystem path to cache directory. Defaults: $TMPDIR/hugo_cache/
|
||||
--config="": config file (default is path/config.yaml|json|toml)
|
||||
-d, --destination="": filesystem path to write files to
|
||||
|
@ -49,6 +54,6 @@ hugo gendoc
|
|||
```
|
||||
|
||||
### SEE ALSO
|
||||
* [hugo](/commands/hugo/) - Hugo is a very fast static site generator
|
||||
* [hugo](/commands/hugo/) - hugo builds your site
|
||||
|
||||
###### Auto generated by spf13/cobra at 2015-05-13 09:12:54.404218224 +0000 UTC
|
||||
###### Auto generated by spf13/cobra at 2015-05-21 11:28:49.112923248 +0000 UTC
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
---
|
||||
date: 2015-05-13T11:12:54+02:00
|
||||
date: 2015-05-21T13:28:49+02:00
|
||||
title: "hugo help"
|
||||
slug: hugo_help
|
||||
url: /commands/hugo_help/
|
||||
|
@ -29,7 +29,7 @@ hugo help [command]
|
|||
```
|
||||
-b, --baseUrl="": hostname (and path) to the root eg. http://spf13.com/
|
||||
-D, --buildDrafts=false: include content marked as draft
|
||||
-F, --buildFuture=false: include content with datePublished in the future
|
||||
-F, --buildFuture=false: include content with publishdate in the future
|
||||
--cacheDir="": filesystem path to cache directory. Defaults: $TMPDIR/hugo_cache/
|
||||
--config="": config file (default is path/config.yaml|json|toml)
|
||||
-d, --destination="": filesystem path to write files to
|
||||
|
@ -49,6 +49,6 @@ hugo help [command]
|
|||
```
|
||||
|
||||
### SEE ALSO
|
||||
* [hugo](/commands/hugo/) - Hugo is a very fast static site generator
|
||||
* [hugo](/commands/hugo/) - hugo builds your site
|
||||
|
||||
###### Auto generated by spf13/cobra at 2015-05-13 09:12:54.404433721 +0000 UTC
|
||||
###### Auto generated by spf13/cobra at 2015-05-21 11:28:49.113243693 +0000 UTC
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
---
|
||||
date: 2015-05-13T11:12:54+02:00
|
||||
date: 2015-05-21T13:28:49+02:00
|
||||
title: "hugo list"
|
||||
slug: hugo_list
|
||||
url: /commands/hugo_list/
|
||||
|
@ -24,7 +24,7 @@ Listing out various types of content. List requires a subcommand, eg. hugo list
|
|||
```
|
||||
-b, --baseUrl="": hostname (and path) to the root eg. http://spf13.com/
|
||||
-D, --buildDrafts=false: include content marked as draft
|
||||
-F, --buildFuture=false: include content with datePublished in the future
|
||||
-F, --buildFuture=false: include content with publishdate in the future
|
||||
--cacheDir="": filesystem path to cache directory. Defaults: $TMPDIR/hugo_cache/
|
||||
--config="": config file (default is path/config.yaml|json|toml)
|
||||
-d, --destination="": filesystem path to write files to
|
||||
|
@ -44,8 +44,8 @@ Listing out various types of content. List requires a subcommand, eg. hugo list
|
|||
```
|
||||
|
||||
### SEE ALSO
|
||||
* [hugo](/commands/hugo/) - Hugo is a very fast static site generator
|
||||
* [hugo](/commands/hugo/) - hugo builds your site
|
||||
* [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 at 2015-05-13 09:12:54.403804713 +0000 UTC
|
||||
###### Auto generated by spf13/cobra at 2015-05-21 11:28:49.112250848 +0000 UTC
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
---
|
||||
date: 2015-05-13T11:12:54+02:00
|
||||
date: 2015-05-21T13:28:49+02:00
|
||||
title: "hugo list drafts"
|
||||
slug: hugo_list_drafts
|
||||
url: /commands/hugo_list_drafts/
|
||||
|
@ -28,7 +28,7 @@ hugo list drafts
|
|||
```
|
||||
-b, --baseUrl="": hostname (and path) to the root eg. http://spf13.com/
|
||||
-D, --buildDrafts=false: include content marked as draft
|
||||
-F, --buildFuture=false: include content with datePublished in the future
|
||||
-F, --buildFuture=false: include content with publishdate in the future
|
||||
--cacheDir="": filesystem path to cache directory. Defaults: $TMPDIR/hugo_cache/
|
||||
--config="": config file (default is path/config.yaml|json|toml)
|
||||
-d, --destination="": filesystem path to write files to
|
||||
|
@ -50,4 +50,4 @@ hugo list drafts
|
|||
### SEE ALSO
|
||||
* [hugo list](/commands/hugo_list/) - Listing out various types of content
|
||||
|
||||
###### Auto generated by spf13/cobra at 2015-05-13 09:12:54.403394546 +0000 UTC
|
||||
###### Auto generated by spf13/cobra at 2015-05-21 11:28:49.111797634 +0000 UTC
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
---
|
||||
date: 2015-05-13T11:12:54+02:00
|
||||
date: 2015-05-21T13:28:49+02:00
|
||||
title: "hugo list future"
|
||||
slug: hugo_list_future
|
||||
url: /commands/hugo_list_future/
|
||||
|
@ -28,7 +28,7 @@ hugo list future
|
|||
```
|
||||
-b, --baseUrl="": hostname (and path) to the root eg. http://spf13.com/
|
||||
-D, --buildDrafts=false: include content marked as draft
|
||||
-F, --buildFuture=false: include content with datePublished in the future
|
||||
-F, --buildFuture=false: include content with publishdate in the future
|
||||
--cacheDir="": filesystem path to cache directory. Defaults: $TMPDIR/hugo_cache/
|
||||
--config="": config file (default is path/config.yaml|json|toml)
|
||||
-d, --destination="": filesystem path to write files to
|
||||
|
@ -50,4 +50,4 @@ hugo list future
|
|||
### SEE ALSO
|
||||
* [hugo list](/commands/hugo_list/) - Listing out various types of content
|
||||
|
||||
###### Auto generated by spf13/cobra at 2015-05-13 09:12:54.403594998 +0000 UTC
|
||||
###### Auto generated by spf13/cobra at 2015-05-21 11:28:49.112019293 +0000 UTC
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
---
|
||||
date: 2015-05-13T11:12:54+02:00
|
||||
date: 2015-05-21T13:28:49+02:00
|
||||
title: "hugo new"
|
||||
slug: hugo_new
|
||||
url: /commands/hugo_new/
|
||||
|
@ -34,7 +34,7 @@ hugo new [path]
|
|||
```
|
||||
-b, --baseUrl="": hostname (and path) to the root eg. http://spf13.com/
|
||||
-D, --buildDrafts=false: include content marked as draft
|
||||
-F, --buildFuture=false: include content with datePublished in the future
|
||||
-F, --buildFuture=false: include content with publishdate in the future
|
||||
--cacheDir="": filesystem path to cache directory. Defaults: $TMPDIR/hugo_cache/
|
||||
--config="": config file (default is path/config.yaml|json|toml)
|
||||
-d, --destination="": filesystem path to write files to
|
||||
|
@ -54,8 +54,8 @@ hugo new [path]
|
|||
```
|
||||
|
||||
### SEE ALSO
|
||||
* [hugo](/commands/hugo/) - Hugo is a very fast static site generator
|
||||
* [hugo](/commands/hugo/) - hugo builds your site
|
||||
* [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 at 2015-05-13 09:12:54.403185059 +0000 UTC
|
||||
###### Auto generated by spf13/cobra at 2015-05-21 11:28:49.111590245 +0000 UTC
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
---
|
||||
date: 2015-05-13T11:12:54+02:00
|
||||
date: 2015-05-21T13:28:49+02:00
|
||||
title: "hugo new site"
|
||||
slug: hugo_new_site
|
||||
url: /commands/hugo_new_site/
|
||||
|
@ -32,7 +32,7 @@ hugo new site [path]
|
|||
```
|
||||
-b, --baseUrl="": hostname (and path) to the root eg. http://spf13.com/
|
||||
-D, --buildDrafts=false: include content marked as draft
|
||||
-F, --buildFuture=false: include content with datePublished in the future
|
||||
-F, --buildFuture=false: include content with publishdate in the future
|
||||
--cacheDir="": filesystem path to cache directory. Defaults: $TMPDIR/hugo_cache/
|
||||
--config="": config file (default is path/config.yaml|json|toml)
|
||||
-d, --destination="": filesystem path to write files to
|
||||
|
@ -54,4 +54,4 @@ hugo new site [path]
|
|||
### SEE ALSO
|
||||
* [hugo new](/commands/hugo_new/) - Create new content for your site
|
||||
|
||||
###### Auto generated by spf13/cobra at 2015-05-13 09:12:54.402745422 +0000 UTC
|
||||
###### Auto generated by spf13/cobra at 2015-05-21 11:28:49.111220879 +0000 UTC
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
---
|
||||
date: 2015-05-13T11:12:54+02:00
|
||||
date: 2015-05-21T13:28:49+02:00
|
||||
title: "hugo new theme"
|
||||
slug: hugo_new_theme
|
||||
url: /commands/hugo_new_theme/
|
||||
|
@ -32,7 +32,7 @@ hugo new theme [name]
|
|||
```
|
||||
-b, --baseUrl="": hostname (and path) to the root eg. http://spf13.com/
|
||||
-D, --buildDrafts=false: include content marked as draft
|
||||
-F, --buildFuture=false: include content with datePublished in the future
|
||||
-F, --buildFuture=false: include content with publishdate in the future
|
||||
--cacheDir="": filesystem path to cache directory. Defaults: $TMPDIR/hugo_cache/
|
||||
--config="": config file (default is path/config.yaml|json|toml)
|
||||
-d, --destination="": filesystem path to write files to
|
||||
|
@ -54,4 +54,4 @@ hugo new theme [name]
|
|||
### SEE ALSO
|
||||
* [hugo new](/commands/hugo_new/) - Create new content for your site
|
||||
|
||||
###### Auto generated by spf13/cobra at 2015-05-13 09:12:54.402953514 +0000 UTC
|
||||
###### Auto generated by spf13/cobra at 2015-05-21 11:28:49.111401382 +0000 UTC
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
---
|
||||
date: 2015-05-13T11:12:54+02:00
|
||||
date: 2015-05-21T13:28:49+02:00
|
||||
title: "hugo server"
|
||||
slug: hugo_server
|
||||
url: /commands/hugo_server/
|
||||
|
@ -37,7 +37,7 @@ hugo server
|
|||
```
|
||||
-b, --baseUrl="": hostname (and path) to the root eg. http://spf13.com/
|
||||
-D, --buildDrafts=false: include content marked as draft
|
||||
-F, --buildFuture=false: include content with datePublished in the future
|
||||
-F, --buildFuture=false: include content with publishdate in the future
|
||||
--cacheDir="": filesystem path to cache directory. Defaults: $TMPDIR/hugo_cache/
|
||||
--config="": config file (default is path/config.yaml|json|toml)
|
||||
-d, --destination="": filesystem path to write files to
|
||||
|
@ -57,6 +57,6 @@ hugo server
|
|||
```
|
||||
|
||||
### SEE ALSO
|
||||
* [hugo](/commands/hugo/) - Hugo is a very fast static site generator
|
||||
* [hugo](/commands/hugo/) - hugo builds your site
|
||||
|
||||
###### Auto generated by spf13/cobra at 2015-05-13 09:12:54.399785024 +0000 UTC
|
||||
###### Auto generated by spf13/cobra at 2015-05-21 11:28:49.108311451 +0000 UTC
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
---
|
||||
date: 2015-05-13T11:12:54+02:00
|
||||
date: 2015-05-21T13:28:49+02:00
|
||||
title: "hugo undraft"
|
||||
slug: hugo_undraft
|
||||
url: /commands/hugo_undraft/
|
||||
|
@ -28,7 +28,7 @@ hugo undraft path/to/content
|
|||
```
|
||||
-b, --baseUrl="": hostname (and path) to the root eg. http://spf13.com/
|
||||
-D, --buildDrafts=false: include content marked as draft
|
||||
-F, --buildFuture=false: include content with datePublished in the future
|
||||
-F, --buildFuture=false: include content with publishdate in the future
|
||||
--cacheDir="": filesystem path to cache directory. Defaults: $TMPDIR/hugo_cache/
|
||||
--config="": config file (default is path/config.yaml|json|toml)
|
||||
-d, --destination="": filesystem path to write files to
|
||||
|
@ -48,6 +48,6 @@ hugo undraft path/to/content
|
|||
```
|
||||
|
||||
### SEE ALSO
|
||||
* [hugo](/commands/hugo/) - Hugo is a very fast static site generator
|
||||
* [hugo](/commands/hugo/) - hugo builds your site
|
||||
|
||||
###### Auto generated by spf13/cobra at 2015-05-13 09:12:54.404004999 +0000 UTC
|
||||
###### Auto generated by spf13/cobra at 2015-05-21 11:28:49.11246122 +0000 UTC
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
---
|
||||
date: 2015-05-13T11:12:54+02:00
|
||||
date: 2015-05-21T13:28:49+02:00
|
||||
title: "hugo version"
|
||||
slug: hugo_version
|
||||
url: /commands/hugo_version/
|
||||
|
@ -28,7 +28,7 @@ hugo version
|
|||
```
|
||||
-b, --baseUrl="": hostname (and path) to the root eg. http://spf13.com/
|
||||
-D, --buildDrafts=false: include content marked as draft
|
||||
-F, --buildFuture=false: include content with datePublished in the future
|
||||
-F, --buildFuture=false: include content with publishdate in the future
|
||||
--cacheDir="": filesystem path to cache directory. Defaults: $TMPDIR/hugo_cache/
|
||||
--config="": config file (default is path/config.yaml|json|toml)
|
||||
-d, --destination="": filesystem path to write files to
|
||||
|
@ -48,6 +48,6 @@ hugo version
|
|||
```
|
||||
|
||||
### SEE ALSO
|
||||
* [hugo](/commands/hugo/) - Hugo is a very fast static site generator
|
||||
* [hugo](/commands/hugo/) - hugo builds your site
|
||||
|
||||
###### Auto generated by spf13/cobra at 2015-05-13 09:12:54.40015844 +0000 UTC
|
||||
###### Auto generated by spf13/cobra at 2015-05-21 11:28:49.108749556 +0000 UTC
|
||||
|
|
Loading…
Reference in a new issue