ref: f77a899ddd79dd379e122bfd7c310771af2f5cb1
parent: d356720f7427a1bd617d3f1a30f7c6498c0e0c37
author: Bjørn Erik Pedersen <[email protected]>
date: Wed Nov 25 18:11:16 EST 2015
Regenerate the commands section of doc
--- a/docs/content/commands/hugo.md
+++ b/docs/content/commands/hugo.md
@@ -1,5 +1,5 @@
---
-date: 2015-09-08T22:45:13-06:00
+date: 2015-11-25T23:10:39+01:00
title: "hugo"
slug: hugo
url: /commands/hugo/
@@ -29,6 +29,7 @@
-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/
+ --canonifyURLs[=false]: if true, all relative URLs will be canonicalized using baseURL
--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
@@ -54,12 +55,12 @@
* [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 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 gen](/commands/hugo_gen/) - A collection of several useful generators.
+* [hugo import](/commands/hugo_import/) - Import your site from others.
* [hugo list](/commands/hugo_list/) - Listing out various types of content
* [hugo new](/commands/hugo_new/) - Create new content for your site
-* [hugo server](/commands/hugo_server/) - Hugo runs its own webserver to render the files
+* [hugo server](/commands/hugo_server/) - A high performance webserver
* [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 8-Sep-2015
+###### Auto generated by spf13/cobra on 25-Nov-2015
--- a/docs/content/commands/hugo_benchmark.md
+++ b/docs/content/commands/hugo_benchmark.md
@@ -1,5 +1,5 @@
---
-date: 2015-09-08T22:45:13-06:00
+date: 2015-11-25T23:10:39+01:00
title: "hugo benchmark"
slug: hugo_benchmark
url: /commands/hugo_benchmark/
@@ -33,6 +33,7 @@
-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/
+ --canonifyURLs[=false]: if true, all relative URLs will be canonicalized using baseURL
--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
@@ -54,4 +55,4 @@
### SEE ALSO
* [hugo](/commands/hugo/) - hugo builds your site
-###### Auto generated by spf13/cobra on 8-Sep-2015
+###### Auto generated by spf13/cobra on 25-Nov-2015
--- a/docs/content/commands/hugo_check.md
+++ b/docs/content/commands/hugo_check.md
@@ -1,5 +1,5 @@
---
-date: 2015-09-08T22:45:13-06:00
+date: 2015-11-25T23:10:39+01:00
title: "hugo check"
slug: hugo_check
url: /commands/hugo_check/
@@ -25,6 +25,7 @@
-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/
+ --canonifyURLs[=false]: if true, all relative URLs will be canonicalized using baseURL
--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
@@ -45,5 +46,6 @@
### SEE ALSO
* [hugo](/commands/hugo/) - hugo builds your site
+* [hugo check ulimit](/commands/hugo_check_ulimit/) - Check system ulimit settings
-###### Auto generated by spf13/cobra on 8-Sep-2015
+###### Auto generated by spf13/cobra on 25-Nov-2015
--- /dev/null
+++ b/docs/content/commands/hugo_check_ulimit.md
@@ -1,0 +1,50 @@
+---
+date: 2015-11-25T23:10:39+01:00
+title: "hugo check ulimit"
+slug: hugo_check_ulimit
+url: /commands/hugo_check_ulimit/
+---
+## hugo check ulimit
+
+Check system ulimit settings
+
+### Synopsis
+
+
+Hugo will inspect the current ulimit settings on the system.
+ This is primarily to ensure that Hugo can watch enough files on some OSs
+
+```
+hugo check ulimit
+```
+
+### Options inherited from parent commands
+
+```
+ -b, --baseURL="": hostname (and path) to the root, e.g. 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/
+ --canonifyURLs[=false]: if true, all relative URLs will be canonicalized using baseURL
+ --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
+ --preserveTaxonomyNames[=false]: Preserve taxonomy names as written ("Gérard Depardieu" vs "gerard-depardieu")
+ -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 check](/commands/hugo_check/) - Check content in the source directory
+
+###### Auto generated by spf13/cobra on 25-Nov-2015
--- a/docs/content/commands/hugo_config.md
+++ b/docs/content/commands/hugo_config.md
@@ -1,5 +1,5 @@
---
-date: 2015-09-08T22:45:13-06:00
+date: 2015-11-25T23:10:39+01:00
title: "hugo config"
slug: hugo_config
url: /commands/hugo_config/
@@ -24,6 +24,7 @@
-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/
+ --canonifyURLs[=false]: if true, all relative URLs will be canonicalized using baseURL
--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
@@ -45,4 +46,4 @@
### SEE ALSO
* [hugo](/commands/hugo/) - hugo builds your site
-###### Auto generated by spf13/cobra on 8-Sep-2015
+###### Auto generated by spf13/cobra on 25-Nov-2015
--- a/docs/content/commands/hugo_convert.md
+++ b/docs/content/commands/hugo_convert.md
@@ -1,5 +1,5 @@
---
-date: 2015-09-08T22:45:13-06:00
+date: 2015-11-25T23:10:39+01:00
title: "hugo convert"
slug: hugo_convert
url: /commands/hugo_convert/
@@ -29,6 +29,7 @@
-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/
+ --canonifyURLs[=false]: if true, all relative URLs will be canonicalized using baseURL
--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
@@ -53,4 +54,4 @@
* [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 8-Sep-2015
+###### Auto generated by spf13/cobra on 25-Nov-2015
--- a/docs/content/commands/hugo_convert_toJSON.md
+++ b/docs/content/commands/hugo_convert_toJSON.md
@@ -1,5 +1,5 @@
---
-date: 2015-09-08T22:45:13-06:00
+date: 2015-11-25T23:10:39+01:00
title: "hugo convert toJSON"
slug: hugo_convert_toJSON
url: /commands/hugo_convert_tojson/
@@ -25,6 +25,7 @@
-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/
+ --canonifyURLs[=false]: if true, all relative URLs will be canonicalized using baseURL
--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
@@ -48,4 +49,4 @@
### SEE ALSO
* [hugo convert](/commands/hugo_convert/) - Convert your content to different formats
-###### Auto generated by spf13/cobra on 8-Sep-2015
+###### Auto generated by spf13/cobra on 25-Nov-2015
--- a/docs/content/commands/hugo_convert_toTOML.md
+++ b/docs/content/commands/hugo_convert_toTOML.md
@@ -1,5 +1,5 @@
---
-date: 2015-09-08T22:45:13-06:00
+date: 2015-11-25T23:10:39+01:00
title: "hugo convert toTOML"
slug: hugo_convert_toTOML
url: /commands/hugo_convert_totoml/
@@ -25,6 +25,7 @@
-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/
+ --canonifyURLs[=false]: if true, all relative URLs will be canonicalized using baseURL
--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
@@ -48,4 +49,4 @@
### SEE ALSO
* [hugo convert](/commands/hugo_convert/) - Convert your content to different formats
-###### Auto generated by spf13/cobra on 8-Sep-2015
+###### Auto generated by spf13/cobra on 25-Nov-2015
--- a/docs/content/commands/hugo_convert_toYAML.md
+++ b/docs/content/commands/hugo_convert_toYAML.md
@@ -1,5 +1,5 @@
---
-date: 2015-09-08T22:45:13-06:00
+date: 2015-11-25T23:10:39+01:00
title: "hugo convert toYAML"
slug: hugo_convert_toYAML
url: /commands/hugo_convert_toyaml/
@@ -25,6 +25,7 @@
-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/
+ --canonifyURLs[=false]: if true, all relative URLs will be canonicalized using baseURL
--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
@@ -48,4 +49,4 @@
### SEE ALSO
* [hugo convert](/commands/hugo_convert/) - Convert your content to different formats
-###### Auto generated by spf13/cobra on 8-Sep-2015
+###### Auto generated by spf13/cobra on 25-Nov-2015
--- /dev/null
+++ b/docs/content/commands/hugo_gen.md
@@ -1,0 +1,48 @@
+---
+date: 2015-11-25T23:10:39+01:00
+title: "hugo gen"
+slug: hugo_gen
+url: /commands/hugo_gen/
+---
+## hugo gen
+
+A collection of several useful generators.
+
+### Synopsis
+
+
+A collection of several useful generators.
+
+### Options inherited from parent commands
+
+```
+ -b, --baseURL="": hostname (and path) to the root, e.g. 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/
+ --canonifyURLs[=false]: if true, all relative URLs will be canonicalized using baseURL
+ --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
+ --preserveTaxonomyNames[=false]: Preserve taxonomy names as written ("Gérard Depardieu" vs "gerard-depardieu")
+ -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
+* [hugo gen autocomplete](/commands/hugo_gen_autocomplete/) - Generate shell autocompletion script for Hugo
+* [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 25-Nov-2015
--- /dev/null
+++ b/docs/content/commands/hugo_gen_autocomplete.md
@@ -1,0 +1,72 @@
+---
+date: 2015-11-25T23:10:39+01:00
+title: "hugo gen autocomplete"
+slug: hugo_gen_autocomplete
+url: /commands/hugo_gen_autocomplete/
+---
+## hugo gen autocomplete
+
+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 gen autocomplete
+```
+
+### Options
+
+```
+ --completionfile="/etc/bash_completion.d/hugo.sh": Autocompletion file
+ --type="bash": Autocompletion type (currently only bash supported)
+```
+
+### Options inherited from parent commands
+
+```
+ -b, --baseURL="": hostname (and path) to the root, e.g. 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/
+ --canonifyURLs[=false]: if true, all relative URLs will be canonicalized using baseURL
+ --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
+ --preserveTaxonomyNames[=false]: Preserve taxonomy names as written ("Gérard Depardieu" vs "gerard-depardieu")
+ -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 gen](/commands/hugo_gen/) - A collection of several useful generators.
+
+###### Auto generated by spf13/cobra on 25-Nov-2015
--- /dev/null
+++ b/docs/content/commands/hugo_gen_doc.md
@@ -1,0 +1,61 @@
+---
+date: 2015-11-25T23:10:39+01:00
+title: "hugo gen doc"
+slug: hugo_gen_doc
+url: /commands/hugo_gen_doc/
+---
+## hugo gen doc
+
+Generate Markdown documentation for the Hugo CLI.
+
+### Synopsis
+
+
+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 http://gohugo.io/.
+
+It creates one Markdown file per command with front matter suitable
+for rendering in Hugo.
+
+```
+hugo gen doc
+```
+
+### Options
+
+```
+ --dir="/tmp/hugodoc/": the directory to write the doc.
+```
+
+### Options inherited from parent commands
+
+```
+ -b, --baseURL="": hostname (and path) to the root, e.g. 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/
+ --canonifyURLs[=false]: if true, all relative URLs will be canonicalized using baseURL
+ --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
+ --preserveTaxonomyNames[=false]: Preserve taxonomy names as written ("Gérard Depardieu" vs "gerard-depardieu")
+ -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 gen](/commands/hugo_gen/) - A collection of several useful generators.
+
+###### Auto generated by spf13/cobra on 25-Nov-2015
--- /dev/null
+++ b/docs/content/commands/hugo_gen_man.md
@@ -1,0 +1,51 @@
+---
+date: 2015-11-25T23:10:39+01:00
+title: "hugo gen man"
+slug: hugo_gen_man
+url: /commands/hugo_gen_man/
+---
+## hugo gen man
+
+Generate man pages for the Hugo CLI
+
+### Synopsis
+
+
+This command automatically generates up-to-date man pages of Hugo's
+command-line interface. By default, it creates the man page files
+in the "man" directory under the current directory.
+
+```
+hugo gen man
+```
+
+### Options inherited from parent commands
+
+```
+ -b, --baseURL="": hostname (and path) to the root, e.g. 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/
+ --canonifyURLs[=false]: if true, all relative URLs will be canonicalized using baseURL
+ --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
+ --preserveTaxonomyNames[=false]: Preserve taxonomy names as written ("Gérard Depardieu" vs "gerard-depardieu")
+ -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 gen](/commands/hugo_gen/) - A collection of several useful generators.
+
+###### Auto generated by spf13/cobra on 25-Nov-2015
--- a/docs/content/commands/hugo_genautocomplete.md
+++ /dev/null
@@ -1,71 +1,0 @@
----
-date: 2015-09-08T22:45:13-06: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
- --type="bash": Autocompletion type (currently only bash supported)
-```
-
-### Options inherited from parent commands
-
-```
- -b, --baseURL="": hostname (and path) to the root, e.g. 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
- --preserveTaxonomyNames[=false]: Preserve taxonomy names as written ("Gérard Depardieu" vs "gerard-depardieu")
- -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 on 8-Sep-2015
--- a/docs/content/commands/hugo_gendoc.md
+++ /dev/null
@@ -1,60 +1,0 @@
----
-date: 2015-09-08T22:45:13-06:00
-title: "hugo gendoc"
-slug: hugo_gendoc
-url: /commands/hugo_gendoc/
----
-## hugo gendoc
-
-Generate Markdown documentation for the Hugo CLI.
-
-### Synopsis
-
-
-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 http://gohugo.io/.
-
-It creates one Markdown file per command with front matter suitable
-for rendering in Hugo.
-
-```
-hugo gendoc
-```
-
-### Options
-
-```
- --dir="/tmp/hugodoc/": the directory to write the doc.
-```
-
-### Options inherited from parent commands
-
-```
- -b, --baseURL="": hostname (and path) to the root, e.g. 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
- --preserveTaxonomyNames[=false]: Preserve taxonomy names as written ("Gérard Depardieu" vs "gerard-depardieu")
- -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 on 8-Sep-2015
--- a/docs/content/commands/hugo_help.md
+++ /dev/null
@@ -1,55 +1,0 @@
----
-date: 2015-08-04T03:11:10-06:00
-title: "hugo help"
-slug: hugo_help
-url: /commands/hugo_help/
----
-## hugo help
-
-Help about any command
-
-### Synopsis
-
-
-Help provides help for any command in the application.
- Simply type hugo help [path to command] for full details.
-
-```
-hugo help [command]
-```
-
-### Options
-
-```
- -h, --help[=false]: help for help
-```
-
-### Options inherited from parent commands
-
-```
- -b, --baseURL="": hostname (and path) to the root, e.g. 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
- --preserveTaxonomyNames[=false]: Preserve taxonomy names as written ("Gérard Depardieu" vs "gerard-depardieu")
- -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 on 8-Sep-2015
--- /dev/null
+++ b/docs/content/commands/hugo_import.md
@@ -1,0 +1,48 @@
+---
+date: 2015-11-25T23:10:39+01:00
+title: "hugo import"
+slug: hugo_import
+url: /commands/hugo_import/
+---
+## hugo import
+
+Import your site from others.
+
+### Synopsis
+
+
+Import your site from other web site generators like Jekyll.
+
+Import requires a subcommand, e.g. `hugo import jekyll jekyll_root_path target_path`.
+
+### Options inherited from parent commands
+
+```
+ -b, --baseURL="": hostname (and path) to the root, e.g. 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/
+ --canonifyURLs[=false]: if true, all relative URLs will be canonicalized using baseURL
+ --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
+ --preserveTaxonomyNames[=false]: Preserve taxonomy names as written ("Gérard Depardieu" vs "gerard-depardieu")
+ -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
+* [hugo import jekyll](/commands/hugo_import_jekyll/) - hugo import from Jekyll
+
+###### Auto generated by spf13/cobra on 25-Nov-2015
--- /dev/null
+++ b/docs/content/commands/hugo_import_jekyll.md
@@ -1,0 +1,51 @@
+---
+date: 2015-11-25T23:10:39+01:00
+title: "hugo import jekyll"
+slug: hugo_import_jekyll
+url: /commands/hugo_import_jekyll/
+---
+## hugo import jekyll
+
+hugo import from Jekyll
+
+### Synopsis
+
+
+hugo import from Jekyll.
+
+Import from Jekyll requires two paths, e.g. `hugo import jekyll jekyll_root_path target_path`.
+
+```
+hugo import jekyll
+```
+
+### Options inherited from parent commands
+
+```
+ -b, --baseURL="": hostname (and path) to the root, e.g. 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/
+ --canonifyURLs[=false]: if true, all relative URLs will be canonicalized using baseURL
+ --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
+ --preserveTaxonomyNames[=false]: Preserve taxonomy names as written ("Gérard Depardieu" vs "gerard-depardieu")
+ -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 import](/commands/hugo_import/) - Import your site from others.
+
+###### Auto generated by spf13/cobra on 25-Nov-2015
--- a/docs/content/commands/hugo_list.md
+++ b/docs/content/commands/hugo_list.md
@@ -1,5 +1,5 @@
---
-date: 2015-09-08T22:45:13-06:00
+date: 2015-11-25T23:10:39+01:00
title: "hugo list"
slug: hugo_list
url: /commands/hugo_list/
@@ -22,6 +22,7 @@
-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/
+ --canonifyURLs[=false]: if true, all relative URLs will be canonicalized using baseURL
--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
@@ -45,4 +46,4 @@
* [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 8-Sep-2015
+###### Auto generated by spf13/cobra on 25-Nov-2015
--- a/docs/content/commands/hugo_list_drafts.md
+++ b/docs/content/commands/hugo_list_drafts.md
@@ -1,5 +1,5 @@
---
-date: 2015-09-08T22:45:13-06:00
+date: 2015-11-25T23:10:39+01:00
title: "hugo list drafts"
slug: hugo_list_drafts
url: /commands/hugo_list_drafts/
@@ -24,6 +24,7 @@
-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/
+ --canonifyURLs[=false]: if true, all relative URLs will be canonicalized using baseURL
--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
@@ -45,4 +46,4 @@
### SEE ALSO
* [hugo list](/commands/hugo_list/) - Listing out various types of content
-###### Auto generated by spf13/cobra on 8-Sep-2015
+###### Auto generated by spf13/cobra on 25-Nov-2015
--- a/docs/content/commands/hugo_list_future.md
+++ b/docs/content/commands/hugo_list_future.md
@@ -1,5 +1,5 @@
---
-date: 2015-09-08T22:45:13-06:00
+date: 2015-11-25T23:10:39+01:00
title: "hugo list future"
slug: hugo_list_future
url: /commands/hugo_list_future/
@@ -25,6 +25,7 @@
-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/
+ --canonifyURLs[=false]: if true, all relative URLs will be canonicalized using baseURL
--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
@@ -46,4 +47,4 @@
### SEE ALSO
* [hugo list](/commands/hugo_list/) - Listing out various types of content
-###### Auto generated by spf13/cobra on 8-Sep-2015
+###### Auto generated by spf13/cobra on 25-Nov-2015
--- a/docs/content/commands/hugo_new.md
+++ b/docs/content/commands/hugo_new.md
@@ -1,5 +1,5 @@
---
-date: 2015-09-08T22:45:13-06:00
+date: 2015-11-25T23:10:39+01:00
title: "hugo new"
slug: hugo_new
url: /commands/hugo_new/
@@ -36,6 +36,7 @@
-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/
+ --canonifyURLs[=false]: if true, all relative URLs will be canonicalized using baseURL
--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
@@ -59,4 +60,4 @@
* [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 8-Sep-2015
+###### Auto generated by spf13/cobra on 25-Nov-2015
--- a/docs/content/commands/hugo_new_site.md
+++ b/docs/content/commands/hugo_new_site.md
@@ -1,5 +1,5 @@
---
-date: 2015-09-08T22:45:13-06:00
+date: 2015-11-25T23:10:39+01:00
title: "hugo new site"
slug: hugo_new_site
url: /commands/hugo_new_site/
@@ -22,6 +22,7 @@
### Options
```
+ --force[=false]: Init inside non-empty directory
-f, --format="toml": config & frontmatter format
```
@@ -32,6 +33,7 @@
-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/
+ --canonifyURLs[=false]: if true, all relative URLs will be canonicalized using baseURL
--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
@@ -53,4 +55,4 @@
### SEE ALSO
* [hugo new](/commands/hugo_new/) - Create new content for your site
-###### Auto generated by spf13/cobra on 8-Sep-2015
+###### Auto generated by spf13/cobra on 25-Nov-2015
--- a/docs/content/commands/hugo_new_theme.md
+++ b/docs/content/commands/hugo_new_theme.md
@@ -1,5 +1,5 @@
---
-date: 2015-09-08T22:45:13-06:00
+date: 2015-11-25T23:10:39+01:00
title: "hugo new theme"
slug: hugo_new_theme
url: /commands/hugo_new_theme/
@@ -27,6 +27,7 @@
-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/
+ --canonifyURLs[=false]: if true, all relative URLs will be canonicalized using baseURL
--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
@@ -48,4 +49,4 @@
### SEE ALSO
* [hugo new](/commands/hugo_new/) - Create new content for your site
-###### Auto generated by spf13/cobra on 8-Sep-2015
+###### Auto generated by spf13/cobra on 25-Nov-2015
--- a/docs/content/commands/hugo_server.md
+++ b/docs/content/commands/hugo_server.md
@@ -1,5 +1,5 @@
---
-date: 2015-09-08T22:45:13-06:00
+date: 2015-11-25T23:10:39+01:00
title: "hugo server"
slug: hugo_server
url: /commands/hugo_server/
@@ -6,15 +6,24 @@
---
## hugo server
-Hugo runs its own webserver to render the files
+A high performance webserver
### Synopsis
-Hugo is able to run its own high performance web server.
-Hugo will render all the files defined in the source directory and
-serve them up.
+Hugo provides its own webserver which builds and serves the site.
+While hugo server is high performance, it is a webserver with limited options.
+Many run it in production, but the standard behavior is for people to use it
+in development and use a more full featured server such as Nginx or Caddy.
+'hugo server' will avoid writing the rendered and served content to disk,
+preferring to store it in memory.
+
+By default hugo will also watch your files for any changes you make and
+automatically rebuild the site. It will then live reload any open browser pages
+and push the latest content to them. As most Hugo sites are built in a fraction
+of a second, you will be able to save and see your changes nearly instantly.
+
```
hugo server
```
@@ -27,8 +36,10 @@
--disableLiveReload[=false]: watch without enabling live browser reload on rebuild
--meminterval=100: interval to poll memory usage (requires --memstats)
--memstats="": log memory usage to this file
+ --noTimes[=false]: Don't sync modification time of files
-p, --port=1313: port on which the server will listen
- -w, --watch[=false]: watch filesystem for changes and recreate as needed
+ --renderToDisk[=false]: render to Destination path (default is render to memory & serve from there)
+ -w, --watch[=true]: watch filesystem for changes and recreate as needed
```
### Options inherited from parent commands
@@ -38,6 +49,7 @@
-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/
+ --canonifyURLs[=false]: if true, all relative URLs will be canonicalized using baseURL
--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
@@ -59,4 +71,4 @@
### SEE ALSO
* [hugo](/commands/hugo/) - hugo builds your site
-###### Auto generated by spf13/cobra on 8-Sep-2015
+###### Auto generated by spf13/cobra on 25-Nov-2015
--- a/docs/content/commands/hugo_undraft.md
+++ b/docs/content/commands/hugo_undraft.md
@@ -1,5 +1,5 @@
---
-date: 2015-09-08T22:45:13-06:00
+date: 2015-11-25T23:10:39+01:00
title: "hugo undraft"
slug: hugo_undraft
url: /commands/hugo_undraft/
@@ -26,6 +26,7 @@
-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/
+ --canonifyURLs[=false]: if true, all relative URLs will be canonicalized using baseURL
--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
@@ -47,4 +48,4 @@
### SEE ALSO
* [hugo](/commands/hugo/) - hugo builds your site
-###### Auto generated by spf13/cobra on 8-Sep-2015
+###### Auto generated by spf13/cobra on 25-Nov-2015
--- a/docs/content/commands/hugo_version.md
+++ b/docs/content/commands/hugo_version.md
@@ -1,5 +1,5 @@
---
-date: 2015-09-08T22:45:13-06:00
+date: 2015-11-25T23:10:39+01:00
title: "hugo version"
slug: hugo_version
url: /commands/hugo_version/
@@ -24,6 +24,7 @@
-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/
+ --canonifyURLs[=false]: if true, all relative URLs will be canonicalized using baseURL
--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
@@ -45,4 +46,4 @@
### SEE ALSO
* [hugo](/commands/hugo/) - hugo builds your site
-###### Auto generated by spf13/cobra on 8-Sep-2015
+###### Auto generated by spf13/cobra on 25-Nov-2015