docs: Regenerate commands doc

This commit is contained in:
Bjørn Erik Pedersen 2017-02-25 10:02:56 +01:00
parent e37e3dcc04
commit 3631fd2f0e
26 changed files with 153 additions and 147 deletions

View file

@ -1,5 +1,5 @@
--- ---
date: 2016-12-20T09:38:40+01:00 date: 2017-02-25T10:01:37+01:00
title: "hugo" title: "hugo"
slug: hugo slug: hugo
url: /commands/hugo/ url: /commands/hugo/
@ -25,39 +25,41 @@ hugo
### Options ### Options
``` ```
-b, --baseURL string hostname (and path) to the root, e.g. http://spf13.com/ -b, --baseURL string hostname (and path) to the root, e.g. http://spf13.com/
-D, --buildDrafts include content marked as draft -D, --buildDrafts include content marked as draft
-E, --buildExpired include expired content -E, --buildExpired include expired content
-F, --buildFuture include content with publishdate in the future -F, --buildFuture include content with publishdate in the future
--cacheDir string filesystem path to cache directory. Defaults: $TMPDIR/hugo_cache/ --cacheDir string filesystem path to cache directory. Defaults: $TMPDIR/hugo_cache/
--canonifyURLs if true, all relative URLs will be canonicalized using baseURL --canonifyURLs if true, all relative URLs will be canonicalized using baseURL
--cleanDestinationDir Remove files from destination not found in static directories --cleanDestinationDir Remove files from destination not found in static directories
--config string config file (default is path/config.yaml|json|toml) --config string config file (default is path/config.yaml|json|toml)
-c, --contentDir string filesystem path to content directory -c, --contentDir string filesystem path to content directory
-d, --destination string filesystem path to write files to -d, --destination string filesystem path to write files to
--disable404 Do not render 404 page --disable404 Do not render 404 page
--disableRSS Do not build RSS files --disableKinds stringSlice Disable different kind of pages (home, RSS etc.)
--disableSitemap Do not build Sitemap file --disableRSS Do not build RSS files
--enableGitInfo Add Git revision, date and author info to the pages --disableSitemap Do not build Sitemap file
--forceSyncStatic Copy all files when static is changed. --enableGitInfo Add Git revision, date and author info to the pages
--i18n-warnings Print missing translations --forceSyncStatic Copy all files when static is changed.
--ignoreCache Ignores the cache directory --i18n-warnings Print missing translations
-l, --layoutDir string filesystem path to layout directory --ignoreCache Ignores the cache directory
--log Enable Logging -l, --layoutDir string filesystem path to layout directory
--logFile string Log File path (if set, logging enabled automatically) --log Enable Logging
--noChmod Don't sync permission mode of files --logFile string Log File path (if set, logging enabled automatically)
--noTimes Don't sync modification time of files --noChmod Don't sync permission mode of files
--pluralizeListTitles Pluralize titles in lists using inflect (default true) --noTimes Don't sync modification time of files
--preserveTaxonomyNames Preserve taxonomy names as written ("Gérard Depardieu" vs "gerard-depardieu") --pluralizeListTitles Pluralize titles in lists using inflect (default true)
--quiet build in quiet mode --preserveTaxonomyNames Preserve taxonomy names as written ("Gérard Depardieu" vs "gerard-depardieu")
--renderToMemory render to memory (only useful for benchmark testing) --quiet build in quiet mode
-s, --source string filesystem path to read files relative from --renderToMemory render to memory (only useful for benchmark testing)
--stepAnalysis display memory and timing of different steps of the program -s, --source string filesystem path to read files relative from
-t, --theme string theme to use (located in /themes/THEMENAME/) --stepAnalysis display memory and timing of different steps of the program
--uglyURLs if true, use /filename.html instead of /filename/ -t, --theme string theme to use (located in /themes/THEMENAME/)
-v, --verbose verbose output --themesDir string filesystem path to themes directory
--verboseLog verbose logging --uglyURLs if true, use /filename.html instead of /filename/
-w, --watch watch filesystem for changes and recreate as needed -v, --verbose verbose output
--verboseLog verbose logging
-w, --watch watch filesystem for changes and recreate as needed
``` ```
### SEE ALSO ### SEE ALSO
@ -74,4 +76,4 @@ hugo
* [hugo undraft](/commands/hugo_undraft/) - Undraft changes the content's draft status from 'True' to 'False' * [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 * [hugo version](/commands/hugo_version/) - Print the version number of Hugo
###### Auto generated by spf13/cobra on 20-Dec-2016 ###### Auto generated by spf13/cobra on 25-Feb-2017

View file

@ -1,5 +1,5 @@
--- ---
date: 2016-12-20T09:38:40+01:00 date: 2017-02-25T10:01:37+01:00
title: "hugo benchmark" title: "hugo benchmark"
slug: hugo_benchmark slug: hugo_benchmark
url: /commands/hugo_benchmark/ url: /commands/hugo_benchmark/
@ -21,35 +21,37 @@ hugo benchmark
### Options ### Options
``` ```
-b, --baseURL string hostname (and path) to the root, e.g. http://spf13.com/ -b, --baseURL string hostname (and path) to the root, e.g. http://spf13.com/
-D, --buildDrafts include content marked as draft -D, --buildDrafts include content marked as draft
-E, --buildExpired include expired content -E, --buildExpired include expired content
-F, --buildFuture include content with publishdate in the future -F, --buildFuture include content with publishdate in the future
--cacheDir string filesystem path to cache directory. Defaults: $TMPDIR/hugo_cache/ --cacheDir string filesystem path to cache directory. Defaults: $TMPDIR/hugo_cache/
--canonifyURLs if true, all relative URLs will be canonicalized using baseURL --canonifyURLs if true, all relative URLs will be canonicalized using baseURL
--cleanDestinationDir Remove files from destination not found in static directories --cleanDestinationDir Remove files from destination not found in static directories
-c, --contentDir string filesystem path to content directory -c, --contentDir string filesystem path to content directory
-n, --count int number of times to build the site (default 13) -n, --count int number of times to build the site (default 13)
--cpuprofile string path/filename for the CPU profile file --cpuprofile string path/filename for the CPU profile file
-d, --destination string filesystem path to write files to -d, --destination string filesystem path to write files to
--disable404 Do not render 404 page --disable404 Do not render 404 page
--disableRSS Do not build RSS files --disableKinds stringSlice Disable different kind of pages (home, RSS etc.)
--disableSitemap Do not build Sitemap file --disableRSS Do not build RSS files
--enableGitInfo Add Git revision, date and author info to the pages --disableSitemap Do not build Sitemap file
--forceSyncStatic Copy all files when static is changed. --enableGitInfo Add Git revision, date and author info to the pages
--i18n-warnings Print missing translations --forceSyncStatic Copy all files when static is changed.
--ignoreCache Ignores the cache directory --i18n-warnings Print missing translations
-l, --layoutDir string filesystem path to layout directory --ignoreCache Ignores the cache directory
--memprofile string path/filename for the memory profile file -l, --layoutDir string filesystem path to layout directory
--noChmod Don't sync permission mode of files --memprofile string path/filename for the memory profile file
--noTimes Don't sync modification time of files --noChmod Don't sync permission mode of files
--pluralizeListTitles Pluralize titles in lists using inflect (default true) --noTimes Don't sync modification time of files
--preserveTaxonomyNames Preserve taxonomy names as written ("Gérard Depardieu" vs "gerard-depardieu") --pluralizeListTitles Pluralize titles in lists using inflect (default true)
--renderToMemory render to memory (only useful for benchmark testing) --preserveTaxonomyNames Preserve taxonomy names as written ("Gérard Depardieu" vs "gerard-depardieu")
-s, --source string filesystem path to read files relative from --renderToMemory render to memory (only useful for benchmark testing)
--stepAnalysis display memory and timing of different steps of the program -s, --source string filesystem path to read files relative from
-t, --theme string theme to use (located in /themes/THEMENAME/) --stepAnalysis display memory and timing of different steps of the program
--uglyURLs if true, use /filename.html instead of /filename/ -t, --theme string theme to use (located in /themes/THEMENAME/)
--themesDir string filesystem path to themes directory
--uglyURLs if true, use /filename.html instead of /filename/
``` ```
### Options inherited from parent commands ### Options inherited from parent commands
@ -66,4 +68,4 @@ hugo benchmark
### SEE ALSO ### SEE ALSO
* [hugo](/commands/hugo/) - hugo builds your site * [hugo](/commands/hugo/) - hugo builds your site
###### Auto generated by spf13/cobra on 20-Dec-2016 ###### Auto generated by spf13/cobra on 25-Feb-2017

View file

@ -1,5 +1,5 @@
--- ---
date: 2016-12-20T09:38:40+01:00 date: 2017-02-25T10:01:37+01:00
title: "hugo check" title: "hugo check"
slug: hugo_check slug: hugo_check
url: /commands/hugo_check/ url: /commands/hugo_check/
@ -28,4 +28,4 @@ Contains some verification checks
* [hugo](/commands/hugo/) - hugo builds your site * [hugo](/commands/hugo/) - hugo builds your site
* [hugo check ulimit](/commands/hugo_check_ulimit/) - Check system ulimit settings * [hugo check ulimit](/commands/hugo_check_ulimit/) - Check system ulimit settings
###### Auto generated by spf13/cobra on 20-Dec-2016 ###### Auto generated by spf13/cobra on 25-Feb-2017

View file

@ -1,5 +1,5 @@
--- ---
date: 2016-12-20T09:38:40+01:00 date: 2017-02-25T10:01:37+01:00
title: "hugo check ulimit" title: "hugo check ulimit"
slug: hugo_check_ulimit slug: hugo_check_ulimit
url: /commands/hugo_check_ulimit/ url: /commands/hugo_check_ulimit/
@ -32,4 +32,4 @@ hugo check ulimit
### SEE ALSO ### SEE ALSO
* [hugo check](/commands/hugo_check/) - Contains some verification checks * [hugo check](/commands/hugo_check/) - Contains some verification checks
###### Auto generated by spf13/cobra on 20-Dec-2016 ###### Auto generated by spf13/cobra on 25-Feb-2017

View file

@ -1,5 +1,5 @@
--- ---
date: 2016-12-20T09:38:40+01:00 date: 2017-02-25T10:01:37+01:00
title: "hugo config" title: "hugo config"
slug: hugo_config slug: hugo_config
url: /commands/hugo_config/ url: /commands/hugo_config/
@ -31,4 +31,4 @@ hugo config
### SEE ALSO ### SEE ALSO
* [hugo](/commands/hugo/) - hugo builds your site * [hugo](/commands/hugo/) - hugo builds your site
###### Auto generated by spf13/cobra on 20-Dec-2016 ###### Auto generated by spf13/cobra on 25-Feb-2017

View file

@ -1,5 +1,5 @@
--- ---
date: 2016-12-20T09:38:40+01:00 date: 2017-02-25T10:01:37+01:00
title: "hugo convert" title: "hugo convert"
slug: hugo_convert slug: hugo_convert
url: /commands/hugo_convert/ url: /commands/hugo_convert/
@ -40,4 +40,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 toTOML](/commands/hugo_convert_totoml/) - Convert front matter to TOML
* [hugo convert toYAML](/commands/hugo_convert_toyaml/) - Convert front matter to YAML * [hugo convert toYAML](/commands/hugo_convert_toyaml/) - Convert front matter to YAML
###### Auto generated by spf13/cobra on 20-Dec-2016 ###### Auto generated by spf13/cobra on 25-Feb-2017

View file

@ -1,5 +1,5 @@
--- ---
date: 2016-12-20T09:38:40+01:00 date: 2017-02-25T10:01:37+01:00
title: "hugo convert toJSON" title: "hugo convert toJSON"
slug: hugo_convert_toJSON slug: hugo_convert_toJSON
url: /commands/hugo_convert_tojson/ url: /commands/hugo_convert_tojson/
@ -35,4 +35,4 @@ hugo convert toJSON
### SEE ALSO ### SEE ALSO
* [hugo convert](/commands/hugo_convert/) - Convert your content to different formats * [hugo convert](/commands/hugo_convert/) - Convert your content to different formats
###### Auto generated by spf13/cobra on 20-Dec-2016 ###### Auto generated by spf13/cobra on 25-Feb-2017

View file

@ -1,5 +1,5 @@
--- ---
date: 2016-12-20T09:38:40+01:00 date: 2017-02-25T10:01:37+01:00
title: "hugo convert toTOML" title: "hugo convert toTOML"
slug: hugo_convert_toTOML slug: hugo_convert_toTOML
url: /commands/hugo_convert_totoml/ url: /commands/hugo_convert_totoml/
@ -35,4 +35,4 @@ hugo convert toTOML
### SEE ALSO ### SEE ALSO
* [hugo convert](/commands/hugo_convert/) - Convert your content to different formats * [hugo convert](/commands/hugo_convert/) - Convert your content to different formats
###### Auto generated by spf13/cobra on 20-Dec-2016 ###### Auto generated by spf13/cobra on 25-Feb-2017

View file

@ -1,5 +1,5 @@
--- ---
date: 2016-12-20T09:38:40+01:00 date: 2017-02-25T10:01:37+01:00
title: "hugo convert toYAML" title: "hugo convert toYAML"
slug: hugo_convert_toYAML slug: hugo_convert_toYAML
url: /commands/hugo_convert_toyaml/ url: /commands/hugo_convert_toyaml/
@ -35,4 +35,4 @@ hugo convert toYAML
### SEE ALSO ### SEE ALSO
* [hugo convert](/commands/hugo_convert/) - Convert your content to different formats * [hugo convert](/commands/hugo_convert/) - Convert your content to different formats
###### Auto generated by spf13/cobra on 20-Dec-2016 ###### Auto generated by spf13/cobra on 25-Feb-2017

View file

@ -1,5 +1,5 @@
--- ---
date: 2016-12-20T09:38:40+01:00 date: 2017-02-25T10:01:37+01:00
title: "hugo env" title: "hugo env"
slug: hugo_env slug: hugo_env
url: /commands/hugo_env/ url: /commands/hugo_env/
@ -31,4 +31,4 @@ hugo env
### SEE ALSO ### SEE ALSO
* [hugo](/commands/hugo/) - hugo builds your site * [hugo](/commands/hugo/) - hugo builds your site
###### Auto generated by spf13/cobra on 20-Dec-2016 ###### Auto generated by spf13/cobra on 25-Feb-2017

View file

@ -1,5 +1,5 @@
--- ---
date: 2016-12-20T09:38:40+01:00 date: 2017-02-25T10:01:37+01:00
title: "hugo gen" title: "hugo gen"
slug: hugo_gen slug: hugo_gen
url: /commands/hugo_gen/ url: /commands/hugo_gen/
@ -30,4 +30,4 @@ A collection of several useful generators.
* [hugo gen doc](/commands/hugo_gen_doc/) - Generate Markdown documentation for the Hugo CLI. * [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 * [hugo gen man](/commands/hugo_gen_man/) - Generate man pages for the Hugo CLI
###### Auto generated by spf13/cobra on 20-Dec-2016 ###### Auto generated by spf13/cobra on 25-Feb-2017

View file

@ -1,5 +1,5 @@
--- ---
date: 2016-12-20T09:38:40+01:00 date: 2017-02-25T10:01:37+01:00
title: "hugo gen autocomplete" title: "hugo gen autocomplete"
slug: hugo_gen_autocomplete slug: hugo_gen_autocomplete
url: /commands/hugo_gen_autocomplete/ url: /commands/hugo_gen_autocomplete/
@ -54,4 +54,4 @@ hugo gen autocomplete
### SEE ALSO ### SEE ALSO
* [hugo gen](/commands/hugo_gen/) - A collection of several useful generators. * [hugo gen](/commands/hugo_gen/) - A collection of several useful generators.
###### Auto generated by spf13/cobra on 20-Dec-2016 ###### Auto generated by spf13/cobra on 25-Feb-2017

View file

@ -1,5 +1,5 @@
--- ---
date: 2016-12-20T09:38:40+01:00 date: 2017-02-25T10:01:37+01:00
title: "hugo gen doc" title: "hugo gen doc"
slug: hugo_gen_doc slug: hugo_gen_doc
url: /commands/hugo_gen_doc/ url: /commands/hugo_gen_doc/
@ -43,4 +43,4 @@ hugo gen doc
### SEE ALSO ### SEE ALSO
* [hugo gen](/commands/hugo_gen/) - A collection of several useful generators. * [hugo gen](/commands/hugo_gen/) - A collection of several useful generators.
###### Auto generated by spf13/cobra on 20-Dec-2016 ###### Auto generated by spf13/cobra on 25-Feb-2017

View file

@ -1,5 +1,5 @@
--- ---
date: 2016-12-20T09:38:40+01:00 date: 2017-02-25T10:01:37+01:00
title: "hugo gen man" title: "hugo gen man"
slug: hugo_gen_man slug: hugo_gen_man
url: /commands/hugo_gen_man/ url: /commands/hugo_gen_man/
@ -39,4 +39,4 @@ hugo gen man
### SEE ALSO ### SEE ALSO
* [hugo gen](/commands/hugo_gen/) - A collection of several useful generators. * [hugo gen](/commands/hugo_gen/) - A collection of several useful generators.
###### Auto generated by spf13/cobra on 20-Dec-2016 ###### Auto generated by spf13/cobra on 25-Feb-2017

View file

@ -1,5 +1,5 @@
--- ---
date: 2016-12-20T09:38:40+01:00 date: 2017-02-25T10:01:37+01:00
title: "hugo import" title: "hugo import"
slug: hugo_import slug: hugo_import
url: /commands/hugo_import/ url: /commands/hugo_import/
@ -30,4 +30,4 @@ Import requires a subcommand, e.g. `hugo import jekyll jekyll_root_path target_p
* [hugo](/commands/hugo/) - hugo builds your site * [hugo](/commands/hugo/) - hugo builds your site
* [hugo import jekyll](/commands/hugo_import_jekyll/) - hugo import from Jekyll * [hugo import jekyll](/commands/hugo_import_jekyll/) - hugo import from Jekyll
###### Auto generated by spf13/cobra on 20-Dec-2016 ###### Auto generated by spf13/cobra on 25-Feb-2017

View file

@ -1,5 +1,5 @@
--- ---
date: 2016-12-20T09:38:40+01:00 date: 2017-02-25T10:01:37+01:00
title: "hugo import jekyll" title: "hugo import jekyll"
slug: hugo_import_jekyll slug: hugo_import_jekyll
url: /commands/hugo_import_jekyll/ url: /commands/hugo_import_jekyll/
@ -39,4 +39,4 @@ hugo import jekyll
### SEE ALSO ### SEE ALSO
* [hugo import](/commands/hugo_import/) - Import your site from others. * [hugo import](/commands/hugo_import/) - Import your site from others.
###### Auto generated by spf13/cobra on 20-Dec-2016 ###### Auto generated by spf13/cobra on 25-Feb-2017

View file

@ -1,5 +1,5 @@
--- ---
date: 2016-12-20T09:38:40+01:00 date: 2017-02-25T10:01:37+01:00
title: "hugo list" title: "hugo list"
slug: hugo_list slug: hugo_list
url: /commands/hugo_list/ url: /commands/hugo_list/
@ -38,4 +38,4 @@ List requires a subcommand, e.g. `hugo list drafts`.
* [hugo list expired](/commands/hugo_list_expired/) - List all posts already expired * [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 * [hugo list future](/commands/hugo_list_future/) - List all posts dated in the future
###### Auto generated by spf13/cobra on 20-Dec-2016 ###### Auto generated by spf13/cobra on 25-Feb-2017

View file

@ -1,5 +1,5 @@
--- ---
date: 2016-12-20T09:38:40+01:00 date: 2017-02-25T10:01:37+01:00
title: "hugo list drafts" title: "hugo list drafts"
slug: hugo_list_drafts slug: hugo_list_drafts
url: /commands/hugo_list_drafts/ url: /commands/hugo_list_drafts/
@ -32,4 +32,4 @@ hugo list drafts
### SEE ALSO ### SEE ALSO
* [hugo list](/commands/hugo_list/) - Listing out various types of content * [hugo list](/commands/hugo_list/) - Listing out various types of content
###### Auto generated by spf13/cobra on 20-Dec-2016 ###### Auto generated by spf13/cobra on 25-Feb-2017

View file

@ -1,5 +1,5 @@
--- ---
date: 2016-12-20T09:38:40+01:00 date: 2017-02-25T10:01:37+01:00
title: "hugo list expired" title: "hugo list expired"
slug: hugo_list_expired slug: hugo_list_expired
url: /commands/hugo_list_expired/ url: /commands/hugo_list_expired/
@ -33,4 +33,4 @@ hugo list expired
### SEE ALSO ### SEE ALSO
* [hugo list](/commands/hugo_list/) - Listing out various types of content * [hugo list](/commands/hugo_list/) - Listing out various types of content
###### Auto generated by spf13/cobra on 20-Dec-2016 ###### Auto generated by spf13/cobra on 25-Feb-2017

View file

@ -1,5 +1,5 @@
--- ---
date: 2016-12-20T09:38:40+01:00 date: 2017-02-25T10:01:37+01:00
title: "hugo list future" title: "hugo list future"
slug: hugo_list_future slug: hugo_list_future
url: /commands/hugo_list_future/ url: /commands/hugo_list_future/
@ -33,4 +33,4 @@ hugo list future
### SEE ALSO ### SEE ALSO
* [hugo list](/commands/hugo_list/) - Listing out various types of content * [hugo list](/commands/hugo_list/) - Listing out various types of content
###### Auto generated by spf13/cobra on 20-Dec-2016 ###### Auto generated by spf13/cobra on 25-Feb-2017

View file

@ -1,5 +1,5 @@
--- ---
date: 2016-12-20T09:38:40+01:00 date: 2017-02-25T10:01:37+01:00
title: "hugo new" title: "hugo new"
slug: hugo_new slug: hugo_new
url: /commands/hugo_new/ url: /commands/hugo_new/
@ -47,4 +47,4 @@ hugo new [path]
* [hugo new site](/commands/hugo_new_site/) - Create a new site (skeleton) * [hugo new site](/commands/hugo_new_site/) - Create a new site (skeleton)
* [hugo new theme](/commands/hugo_new_theme/) - Create a new theme * [hugo new theme](/commands/hugo_new_theme/) - Create a new theme
###### Auto generated by spf13/cobra on 20-Dec-2016 ###### Auto generated by spf13/cobra on 25-Feb-2017

View file

@ -1,5 +1,5 @@
--- ---
date: 2016-12-20T09:38:40+01:00 date: 2017-02-25T10:01:37+01:00
title: "hugo new site" title: "hugo new site"
slug: hugo_new_site slug: hugo_new_site
url: /commands/hugo_new_site/ url: /commands/hugo_new_site/
@ -41,4 +41,4 @@ hugo new site [path]
### SEE ALSO ### SEE ALSO
* [hugo new](/commands/hugo_new/) - Create new content for your site * [hugo new](/commands/hugo_new/) - Create new content for your site
###### Auto generated by spf13/cobra on 20-Dec-2016 ###### Auto generated by spf13/cobra on 25-Feb-2017

View file

@ -1,5 +1,5 @@
--- ---
date: 2016-12-20T09:38:40+01:00 date: 2017-02-25T10:01:37+01:00
title: "hugo new theme" title: "hugo new theme"
slug: hugo_new_theme slug: hugo_new_theme
url: /commands/hugo_new_theme/ url: /commands/hugo_new_theme/
@ -35,4 +35,4 @@ hugo new theme [name]
### SEE ALSO ### SEE ALSO
* [hugo new](/commands/hugo_new/) - Create new content for your site * [hugo new](/commands/hugo_new/) - Create new content for your site
###### Auto generated by spf13/cobra on 20-Dec-2016 ###### Auto generated by spf13/cobra on 25-Feb-2017

View file

@ -1,5 +1,5 @@
--- ---
date: 2016-12-20T09:38:40+01:00 date: 2017-02-25T10:01:37+01:00
title: "hugo server" title: "hugo server"
slug: hugo_server slug: hugo_server
url: /commands/hugo_server/ url: /commands/hugo_server/
@ -31,39 +31,41 @@ hugo server
### Options ### Options
``` ```
--appendPort append port to baseURL (default true) --appendPort append port to baseURL (default true)
-b, --baseURL string hostname (and path) to the root, e.g. http://spf13.com/ -b, --baseURL string hostname (and path) to the root, e.g. http://spf13.com/
--bind string interface to which the server will bind (default "127.0.0.1") --bind string interface to which the server will bind (default "127.0.0.1")
-D, --buildDrafts include content marked as draft -D, --buildDrafts include content marked as draft
-E, --buildExpired include expired content -E, --buildExpired include expired content
-F, --buildFuture include content with publishdate in the future -F, --buildFuture include content with publishdate in the future
--cacheDir string filesystem path to cache directory. Defaults: $TMPDIR/hugo_cache/ --cacheDir string filesystem path to cache directory. Defaults: $TMPDIR/hugo_cache/
--canonifyURLs if true, all relative URLs will be canonicalized using baseURL --canonifyURLs if true, all relative URLs will be canonicalized using baseURL
--cleanDestinationDir Remove files from destination not found in static directories --cleanDestinationDir Remove files from destination not found in static directories
-c, --contentDir string filesystem path to content directory -c, --contentDir string filesystem path to content directory
-d, --destination string filesystem path to write files to -d, --destination string filesystem path to write files to
--disable404 Do not render 404 page --disable404 Do not render 404 page
--disableLiveReload watch without enabling live browser reload on rebuild --disableKinds stringSlice Disable different kind of pages (home, RSS etc.)
--disableRSS Do not build RSS files --disableLiveReload watch without enabling live browser reload on rebuild
--disableSitemap Do not build Sitemap file --disableRSS Do not build RSS files
--enableGitInfo Add Git revision, date and author info to the pages --disableSitemap Do not build Sitemap file
--forceSyncStatic Copy all files when static is changed. --enableGitInfo Add Git revision, date and author info to the pages
--i18n-warnings Print missing translations --forceSyncStatic Copy all files when static is changed.
--ignoreCache Ignores the cache directory --i18n-warnings Print missing translations
-l, --layoutDir string filesystem path to layout directory --ignoreCache Ignores the cache directory
--meminterval string interval to poll memory usage (requires --memstats), valid time units are "ns", "us" (or "µs"), "ms", "s", "m", "h". (default "100ms") -l, --layoutDir string filesystem path to layout directory
--memstats string log memory usage to this file --meminterval string interval to poll memory usage (requires --memstats), valid time units are "ns", "us" (or "µs"), "ms", "s", "m", "h". (default "100ms")
--noChmod Don't sync permission mode of files --memstats string log memory usage to this file
--noTimes Don't sync modification time of files --noChmod Don't sync permission mode of files
--pluralizeListTitles Pluralize titles in lists using inflect (default true) --noTimes Don't sync modification time of files
-p, --port int port on which the server will listen (default 1313) --pluralizeListTitles Pluralize titles in lists using inflect (default true)
--preserveTaxonomyNames Preserve taxonomy names as written ("Gérard Depardieu" vs "gerard-depardieu") -p, --port int port on which the server will listen (default 1313)
--renderToDisk render to Destination path (default is render to memory & serve from there) --preserveTaxonomyNames Preserve taxonomy names as written ("Gérard Depardieu" vs "gerard-depardieu")
-s, --source string filesystem path to read files relative from --renderToDisk render to Destination path (default is render to memory & serve from there)
--stepAnalysis display memory and timing of different steps of the program -s, --source string filesystem path to read files relative from
-t, --theme string theme to use (located in /themes/THEMENAME/) --stepAnalysis display memory and timing of different steps of the program
--uglyURLs if true, use /filename.html instead of /filename/ -t, --theme string theme to use (located in /themes/THEMENAME/)
-w, --watch watch filesystem for changes and recreate as needed (default true) --themesDir string filesystem path to themes directory
--uglyURLs if true, use /filename.html instead of /filename/
-w, --watch watch filesystem for changes and recreate as needed (default true)
``` ```
### Options inherited from parent commands ### Options inherited from parent commands
@ -80,4 +82,4 @@ hugo server
### SEE ALSO ### SEE ALSO
* [hugo](/commands/hugo/) - hugo builds your site * [hugo](/commands/hugo/) - hugo builds your site
###### Auto generated by spf13/cobra on 20-Dec-2016 ###### Auto generated by spf13/cobra on 25-Feb-2017

View file

@ -1,5 +1,5 @@
--- ---
date: 2016-12-20T09:38:40+01:00 date: 2017-02-25T10:01:37+01:00
title: "hugo undraft" title: "hugo undraft"
slug: hugo_undraft slug: hugo_undraft
url: /commands/hugo_undraft/ url: /commands/hugo_undraft/
@ -33,4 +33,4 @@ hugo undraft path/to/content
### SEE ALSO ### SEE ALSO
* [hugo](/commands/hugo/) - hugo builds your site * [hugo](/commands/hugo/) - hugo builds your site
###### Auto generated by spf13/cobra on 20-Dec-2016 ###### Auto generated by spf13/cobra on 25-Feb-2017

View file

@ -1,5 +1,5 @@
--- ---
date: 2016-12-20T09:38:40+01:00 date: 2017-02-25T10:01:37+01:00
title: "hugo version" title: "hugo version"
slug: hugo_version slug: hugo_version
url: /commands/hugo_version/ url: /commands/hugo_version/
@ -31,4 +31,4 @@ hugo version
### SEE ALSO ### SEE ALSO
* [hugo](/commands/hugo/) - hugo builds your site * [hugo](/commands/hugo/) - hugo builds your site
###### Auto generated by spf13/cobra on 20-Dec-2016 ###### Auto generated by spf13/cobra on 25-Feb-2017