shithub: hugo

Download patch

ref: 40e99672b6f697a614485aace07ca84268f6c787
parent: 3a3badfd1d4b1d4c9863ecaf029512d36136fa0f
author: Bjørn Erik Pedersen <[email protected]>
date: Fri Oct 26 11:10:43 EDT 2018

docs: Regenerate CLI docs

Closes #5354

--- a/docs/content/en/commands/hugo.md
+++ b/docs/content/en/commands/hugo.md
@@ -1,5 +1,5 @@
 ---
-date: 2018-09-24
+date: 2018-10-26
 title: "hugo"
 slug: hugo
 url: /commands/hugo/
@@ -74,4 +74,4 @@
 * [hugo server](/commands/hugo_server/)	 - A high performance webserver
 * [hugo version](/commands/hugo_version/)	 - Print the version number of Hugo
 
-###### Auto generated by spf13/cobra on 24-Sep-2018
+###### Auto generated by spf13/cobra on 26-Oct-2018
--- a/docs/content/en/commands/hugo_benchmark.md
+++ b/docs/content/en/commands/hugo_benchmark.md
@@ -1,5 +1,5 @@
 ---
-date: 2018-09-24
+date: 2018-10-26
 title: "hugo benchmark"
 slug: hugo_benchmark
 url: /commands/hugo_benchmark/
@@ -66,4 +66,4 @@
 
 * [hugo](/commands/hugo/)	 - hugo builds your site
 
-###### Auto generated by spf13/cobra on 24-Sep-2018
+###### Auto generated by spf13/cobra on 26-Oct-2018
--- a/docs/content/en/commands/hugo_check.md
+++ b/docs/content/en/commands/hugo_check.md
@@ -1,5 +1,5 @@
 ---
-date: 2018-09-24
+date: 2018-10-26
 title: "hugo check"
 slug: hugo_check
 url: /commands/hugo_check/
@@ -35,4 +35,4 @@
 * [hugo](/commands/hugo/)	 - hugo builds your site
 * [hugo check ulimit](/commands/hugo_check_ulimit/)	 - Check system ulimit settings
 
-###### Auto generated by spf13/cobra on 24-Sep-2018
+###### Auto generated by spf13/cobra on 26-Oct-2018
--- a/docs/content/en/commands/hugo_check_ulimit.md
+++ b/docs/content/en/commands/hugo_check_ulimit.md
@@ -1,5 +1,5 @@
 ---
-date: 2018-09-24
+date: 2018-10-26
 title: "hugo check ulimit"
 slug: hugo_check_ulimit
 url: /commands/hugo_check_ulimit/
@@ -39,4 +39,4 @@
 
 * [hugo check](/commands/hugo_check/)	 - Contains some verification checks
 
-###### Auto generated by spf13/cobra on 24-Sep-2018
+###### Auto generated by spf13/cobra on 26-Oct-2018
--- a/docs/content/en/commands/hugo_config.md
+++ b/docs/content/en/commands/hugo_config.md
@@ -1,5 +1,5 @@
 ---
-date: 2018-09-24
+date: 2018-10-26
 title: "hugo config"
 slug: hugo_config
 url: /commands/hugo_config/
@@ -39,4 +39,4 @@
 
 * [hugo](/commands/hugo/)	 - hugo builds your site
 
-###### Auto generated by spf13/cobra on 24-Sep-2018
+###### Auto generated by spf13/cobra on 26-Oct-2018
--- a/docs/content/en/commands/hugo_convert.md
+++ b/docs/content/en/commands/hugo_convert.md
@@ -1,5 +1,5 @@
 ---
-date: 2018-09-24
+date: 2018-10-26
 title: "hugo convert"
 slug: hugo_convert
 url: /commands/hugo_convert/
@@ -42,4 +42,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 24-Sep-2018
+###### Auto generated by spf13/cobra on 26-Oct-2018
--- a/docs/content/en/commands/hugo_convert_toJSON.md
+++ b/docs/content/en/commands/hugo_convert_toJSON.md
@@ -1,5 +1,5 @@
 ---
-date: 2018-09-24
+date: 2018-10-26
 title: "hugo convert toJSON"
 slug: hugo_convert_toJSON
 url: /commands/hugo_convert_tojson/
@@ -42,4 +42,4 @@
 
 * [hugo convert](/commands/hugo_convert/)	 - Convert your content to different formats
 
-###### Auto generated by spf13/cobra on 24-Sep-2018
+###### Auto generated by spf13/cobra on 26-Oct-2018
--- a/docs/content/en/commands/hugo_convert_toTOML.md
+++ b/docs/content/en/commands/hugo_convert_toTOML.md
@@ -1,5 +1,5 @@
 ---
-date: 2018-09-24
+date: 2018-10-26
 title: "hugo convert toTOML"
 slug: hugo_convert_toTOML
 url: /commands/hugo_convert_totoml/
@@ -42,4 +42,4 @@
 
 * [hugo convert](/commands/hugo_convert/)	 - Convert your content to different formats
 
-###### Auto generated by spf13/cobra on 24-Sep-2018
+###### Auto generated by spf13/cobra on 26-Oct-2018
--- a/docs/content/en/commands/hugo_convert_toYAML.md
+++ b/docs/content/en/commands/hugo_convert_toYAML.md
@@ -1,5 +1,5 @@
 ---
-date: 2018-09-24
+date: 2018-10-26
 title: "hugo convert toYAML"
 slug: hugo_convert_toYAML
 url: /commands/hugo_convert_toyaml/
@@ -42,4 +42,4 @@
 
 * [hugo convert](/commands/hugo_convert/)	 - Convert your content to different formats
 
-###### Auto generated by spf13/cobra on 24-Sep-2018
+###### Auto generated by spf13/cobra on 26-Oct-2018
--- a/docs/content/en/commands/hugo_env.md
+++ b/docs/content/en/commands/hugo_env.md
@@ -1,5 +1,5 @@
 ---
-date: 2018-09-24
+date: 2018-10-26
 title: "hugo env"
 slug: hugo_env
 url: /commands/hugo_env/
@@ -38,4 +38,4 @@
 
 * [hugo](/commands/hugo/)	 - hugo builds your site
 
-###### Auto generated by spf13/cobra on 24-Sep-2018
+###### Auto generated by spf13/cobra on 26-Oct-2018
--- a/docs/content/en/commands/hugo_gen.md
+++ b/docs/content/en/commands/hugo_gen.md
@@ -1,5 +1,5 @@
 ---
-date: 2018-09-24
+date: 2018-10-26
 title: "hugo gen"
 slug: hugo_gen
 url: /commands/hugo_gen/
@@ -38,4 +38,4 @@
 * [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 24-Sep-2018
+###### Auto generated by spf13/cobra on 26-Oct-2018
--- a/docs/content/en/commands/hugo_gen_autocomplete.md
+++ b/docs/content/en/commands/hugo_gen_autocomplete.md
@@ -1,5 +1,5 @@
 ---
-date: 2018-09-24
+date: 2018-10-26
 title: "hugo gen autocomplete"
 slug: hugo_gen_autocomplete
 url: /commands/hugo_gen_autocomplete/
@@ -56,4 +56,4 @@
 
 * [hugo gen](/commands/hugo_gen/)	 - A collection of several useful generators.
 
-###### Auto generated by spf13/cobra on 24-Sep-2018
+###### Auto generated by spf13/cobra on 26-Oct-2018
--- a/docs/content/en/commands/hugo_gen_chromastyles.md
+++ b/docs/content/en/commands/hugo_gen_chromastyles.md
@@ -1,5 +1,5 @@
 ---
-date: 2018-09-24
+date: 2018-10-26
 title: "hugo gen chromastyles"
 slug: hugo_gen_chromastyles
 url: /commands/hugo_gen_chromastyles/
@@ -43,4 +43,4 @@
 
 * [hugo gen](/commands/hugo_gen/)	 - A collection of several useful generators.
 
-###### Auto generated by spf13/cobra on 24-Sep-2018
+###### Auto generated by spf13/cobra on 26-Oct-2018
--- a/docs/content/en/commands/hugo_gen_doc.md
+++ b/docs/content/en/commands/hugo_gen_doc.md
@@ -1,5 +1,5 @@
 ---
-date: 2018-09-24
+date: 2018-10-26
 title: "hugo gen doc"
 slug: hugo_gen_doc
 url: /commands/hugo_gen_doc/
@@ -45,4 +45,4 @@
 
 * [hugo gen](/commands/hugo_gen/)	 - A collection of several useful generators.
 
-###### Auto generated by spf13/cobra on 24-Sep-2018
+###### Auto generated by spf13/cobra on 26-Oct-2018
--- a/docs/content/en/commands/hugo_gen_man.md
+++ b/docs/content/en/commands/hugo_gen_man.md
@@ -1,5 +1,5 @@
 ---
-date: 2018-09-24
+date: 2018-10-26
 title: "hugo gen man"
 slug: hugo_gen_man
 url: /commands/hugo_gen_man/
@@ -41,4 +41,4 @@
 
 * [hugo gen](/commands/hugo_gen/)	 - A collection of several useful generators.
 
-###### Auto generated by spf13/cobra on 24-Sep-2018
+###### Auto generated by spf13/cobra on 26-Oct-2018
--- a/docs/content/en/commands/hugo_import.md
+++ b/docs/content/en/commands/hugo_import.md
@@ -1,5 +1,5 @@
 ---
-date: 2018-09-24
+date: 2018-10-26
 title: "hugo import"
 slug: hugo_import
 url: /commands/hugo_import/
@@ -37,4 +37,4 @@
 * [hugo](/commands/hugo/)	 - hugo builds your site
 * [hugo import jekyll](/commands/hugo_import_jekyll/)	 - hugo import from Jekyll
 
-###### Auto generated by spf13/cobra on 24-Sep-2018
+###### Auto generated by spf13/cobra on 26-Oct-2018
--- a/docs/content/en/commands/hugo_import_jekyll.md
+++ b/docs/content/en/commands/hugo_import_jekyll.md
@@ -1,5 +1,5 @@
 ---
-date: 2018-09-24
+date: 2018-10-26
 title: "hugo import jekyll"
 slug: hugo_import_jekyll
 url: /commands/hugo_import_jekyll/
@@ -41,4 +41,4 @@
 
 * [hugo import](/commands/hugo_import/)	 - Import your site from others.
 
-###### Auto generated by spf13/cobra on 24-Sep-2018
+###### Auto generated by spf13/cobra on 26-Oct-2018
--- a/docs/content/en/commands/hugo_list.md
+++ b/docs/content/en/commands/hugo_list.md
@@ -1,5 +1,5 @@
 ---
-date: 2018-09-24
+date: 2018-10-26
 title: "hugo list"
 slug: hugo_list
 url: /commands/hugo_list/
@@ -40,4 +40,4 @@
 * [hugo list expired](/commands/hugo_list_expired/)	 - List all posts already expired
 * [hugo list future](/commands/hugo_list_future/)	 - List all posts dated in the future
 
-###### Auto generated by spf13/cobra on 24-Sep-2018
+###### Auto generated by spf13/cobra on 26-Oct-2018
--- a/docs/content/en/commands/hugo_list_drafts.md
+++ b/docs/content/en/commands/hugo_list_drafts.md
@@ -1,5 +1,5 @@
 ---
-date: 2018-09-24
+date: 2018-10-26
 title: "hugo list drafts"
 slug: hugo_list_drafts
 url: /commands/hugo_list_drafts/
@@ -39,4 +39,4 @@
 
 * [hugo list](/commands/hugo_list/)	 - Listing out various types of content
 
-###### Auto generated by spf13/cobra on 24-Sep-2018
+###### Auto generated by spf13/cobra on 26-Oct-2018
--- a/docs/content/en/commands/hugo_list_expired.md
+++ b/docs/content/en/commands/hugo_list_expired.md
@@ -1,5 +1,5 @@
 ---
-date: 2018-09-24
+date: 2018-10-26
 title: "hugo list expired"
 slug: hugo_list_expired
 url: /commands/hugo_list_expired/
@@ -40,4 +40,4 @@
 
 * [hugo list](/commands/hugo_list/)	 - Listing out various types of content
 
-###### Auto generated by spf13/cobra on 24-Sep-2018
+###### Auto generated by spf13/cobra on 26-Oct-2018
--- a/docs/content/en/commands/hugo_list_future.md
+++ b/docs/content/en/commands/hugo_list_future.md
@@ -1,5 +1,5 @@
 ---
-date: 2018-09-24
+date: 2018-10-26
 title: "hugo list future"
 slug: hugo_list_future
 url: /commands/hugo_list_future/
@@ -40,4 +40,4 @@
 
 * [hugo list](/commands/hugo_list/)	 - Listing out various types of content
 
-###### Auto generated by spf13/cobra on 24-Sep-2018
+###### Auto generated by spf13/cobra on 26-Oct-2018
--- a/docs/content/en/commands/hugo_new.md
+++ b/docs/content/en/commands/hugo_new.md
@@ -1,5 +1,5 @@
 ---
-date: 2018-09-24
+date: 2018-10-26
 title: "hugo new"
 slug: hugo_new
 url: /commands/hugo_new/
@@ -17,6 +17,8 @@
 
 If archetypes are provided in your theme or site, they will be used.
 
+Ensure you run this within the root directory of your site.
+
 ```
 hugo new [path] [flags]
 ```
@@ -48,4 +50,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 24-Sep-2018
+###### Auto generated by spf13/cobra on 26-Oct-2018
--- a/docs/content/en/commands/hugo_new_site.md
+++ b/docs/content/en/commands/hugo_new_site.md
@@ -1,5 +1,5 @@
 ---
-date: 2018-09-24
+date: 2018-10-26
 title: "hugo new site"
 slug: hugo_new_site
 url: /commands/hugo_new_site/
@@ -43,4 +43,4 @@
 
 * [hugo new](/commands/hugo_new/)	 - Create new content for your site
 
-###### Auto generated by spf13/cobra on 24-Sep-2018
+###### Auto generated by spf13/cobra on 26-Oct-2018
--- a/docs/content/en/commands/hugo_new_theme.md
+++ b/docs/content/en/commands/hugo_new_theme.md
@@ -1,5 +1,5 @@
 ---
-date: 2018-09-24
+date: 2018-10-26
 title: "hugo new theme"
 slug: hugo_new_theme
 url: /commands/hugo_new_theme/
@@ -42,4 +42,4 @@
 
 * [hugo new](/commands/hugo_new/)	 - Create new content for your site
 
-###### Auto generated by spf13/cobra on 24-Sep-2018
+###### Auto generated by spf13/cobra on 26-Oct-2018
--- a/docs/content/en/commands/hugo_server.md
+++ b/docs/content/en/commands/hugo_server.md
@@ -1,5 +1,5 @@
 ---
-date: 2018-09-24
+date: 2018-10-26
 title: "hugo server"
 slug: hugo_server
 url: /commands/hugo_server/
@@ -40,6 +40,7 @@
       --cleanDestinationDir    remove files from destination not found in static directories
   -c, --contentDir string      filesystem path to content directory
   -d, --destination string     filesystem path to write files to
+      --disableBrowserError    do not show build errors in the browser
       --disableFastRender      enables full re-renders on changes
       --disableKinds strings   disable different kind of pages (home, RSS etc.)
       --disableLiveReload      watch without enabling live browser reload on rebuild
@@ -84,4 +85,4 @@
 
 * [hugo](/commands/hugo/)	 - hugo builds your site
 
-###### Auto generated by spf13/cobra on 24-Sep-2018
+###### Auto generated by spf13/cobra on 26-Oct-2018
--- a/docs/content/en/commands/hugo_version.md
+++ b/docs/content/en/commands/hugo_version.md
@@ -1,5 +1,5 @@
 ---
-date: 2018-09-24
+date: 2018-10-26
 title: "hugo version"
 slug: hugo_version
 url: /commands/hugo_version/
@@ -38,4 +38,4 @@
 
 * [hugo](/commands/hugo/)	 - hugo builds your site
 
-###### Auto generated by spf13/cobra on 24-Sep-2018
+###### Auto generated by spf13/cobra on 26-Oct-2018