]> git.maquefel.me Git - brevno-suite/hugo/commitdiff
Squashed 'docs/' changes from 2d9da3a56..96fdc246c
authorBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>
Tue, 31 May 2022 08:21:09 +0000 (10:21 +0200)
committerBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>
Tue, 31 May 2022 08:21:09 +0000 (10:21 +0200)
96fdc246c Fix outdated i18n warnings flag mention on the multilingual page
39d197345 netlify: Hugo 0.99.1
fafd5070e Typo: Vriables > Variables
348c4e237 Update postcss.md
924fa76b6 netlify: Hugo 0.99.0
bb3f02ac1 Merge branch 'tempv0.99.0'
bdd0b6eaf Update usage.md
f562ff99d postcss: Fix import error handling
5d73f215f docs: Regen CLI docs

git-subtree-dir: docs
git-subtree-split: 96fdc246cc901a4c4ce6a28bab681fda2cff355b

45 files changed:
content/en/commands/hugo.md
content/en/commands/hugo_completion.md
content/en/commands/hugo_completion_bash.md
content/en/commands/hugo_completion_fish.md
content/en/commands/hugo_completion_powershell.md
content/en/commands/hugo_completion_zsh.md
content/en/commands/hugo_config.md
content/en/commands/hugo_config_mounts.md
content/en/commands/hugo_convert.md
content/en/commands/hugo_convert_toJSON.md
content/en/commands/hugo_convert_toTOML.md
content/en/commands/hugo_convert_toYAML.md
content/en/commands/hugo_deploy.md
content/en/commands/hugo_env.md
content/en/commands/hugo_gen.md
content/en/commands/hugo_gen_chromastyles.md
content/en/commands/hugo_gen_doc.md
content/en/commands/hugo_gen_man.md
content/en/commands/hugo_import.md
content/en/commands/hugo_import_jekyll.md
content/en/commands/hugo_list.md
content/en/commands/hugo_list_all.md
content/en/commands/hugo_list_drafts.md
content/en/commands/hugo_list_expired.md
content/en/commands/hugo_list_future.md
content/en/commands/hugo_mod.md
content/en/commands/hugo_mod_clean.md
content/en/commands/hugo_mod_get.md
content/en/commands/hugo_mod_graph.md
content/en/commands/hugo_mod_init.md
content/en/commands/hugo_mod_npm.md
content/en/commands/hugo_mod_npm_pack.md
content/en/commands/hugo_mod_tidy.md
content/en/commands/hugo_mod_vendor.md
content/en/commands/hugo_mod_verify.md
content/en/commands/hugo_new.md
content/en/commands/hugo_new_site.md
content/en/commands/hugo_new_theme.md
content/en/commands/hugo_server.md
content/en/commands/hugo_version.md
content/en/content-management/multilingual.md
content/en/getting-started/usage.md
content/en/hugo-pipes/postcss.md
content/en/templates/introduction.md
netlify.toml

index afae767471faace491f68aa7e979e6cec0e82699..8845fef4a438ef5512e97d2746968c1822fcd397 100644 (file)
@@ -29,6 +29,7 @@ hugo [flags]
   -F, --buildFuture                include content with publishdate in the future
       --cacheDir string            filesystem path to cache directory. Defaults: $TMPDIR/hugo_cache/
       --cleanDestinationDir        remove files from destination not found in static directories
+      --clock string               set the clock used by Hugo, e.g. --clock 2021-11-06T22:30:00.00+09:00
       --config string              config file (default is path/config.yaml|json|toml)
       --configDir string           config dir (default "config")
   -c, --contentDir string          filesystem path to content directory
index c5e70cdd78320a289a0151fbc2372acc8eb7a03f..309af4fe9b35b9f2bb13f47befd529aa4dc3859c 100644 (file)
@@ -22,6 +22,7 @@ See each sub-command's help for details on how to use the generated script.
 ### Options inherited from parent commands
 
 ```
+      --clock string               set the clock used by Hugo, e.g. --clock 2021-11-06T22:30:00.00+09:00
       --config string              config file (default is path/config.yaml|json|toml)
       --configDir string           config dir (default "config")
       --debug                      debug output
index e83c39836bafbc36fe31f087d081b325b9e14132..ccdd979ae8bc20581ae7790fac8202d95db8f176 100644 (file)
@@ -45,6 +45,7 @@ hugo completion bash
 ### Options inherited from parent commands
 
 ```
+      --clock string               set the clock used by Hugo, e.g. --clock 2021-11-06T22:30:00.00+09:00
       --config string              config file (default is path/config.yaml|json|toml)
       --configDir string           config dir (default "config")
       --debug                      debug output
index 07f39b4baac473979a5275cc28c2bdadec0f6b68..26cdb9b5f42fbfd0c52c14226ac0477ebc343467 100644 (file)
@@ -36,6 +36,7 @@ hugo completion fish [flags]
 ### Options inherited from parent commands
 
 ```
+      --clock string               set the clock used by Hugo, e.g. --clock 2021-11-06T22:30:00.00+09:00
       --config string              config file (default is path/config.yaml|json|toml)
       --configDir string           config dir (default "config")
       --debug                      debug output
index 990f522e6c963b8abbb89f3209089523e0ca9c09..85bf878365bc29b19d177f0758c0533afb71291b 100644 (file)
@@ -33,6 +33,7 @@ hugo completion powershell [flags]
 ### Options inherited from parent commands
 
 ```
+      --clock string               set the clock used by Hugo, e.g. --clock 2021-11-06T22:30:00.00+09:00
       --config string              config file (default is path/config.yaml|json|toml)
       --configDir string           config dir (default "config")
       --debug                      debug output
index 7088d4d320c0663200e7a225a7ca4d981fe0855e..7dfeab2334e47b023f86c62042ab7df91c3c0683 100644 (file)
@@ -43,6 +43,7 @@ hugo completion zsh [flags]
 ### Options inherited from parent commands
 
 ```
+      --clock string               set the clock used by Hugo, e.g. --clock 2021-11-06T22:30:00.00+09:00
       --config string              config file (default is path/config.yaml|json|toml)
       --configDir string           config dir (default "config")
       --debug                      debug output
index eb82b06ed7c1ba1f289b9446a39708526e7a730b..e751416cc1419e58ccf737e5f7748d4c4e6d9300 100644 (file)
@@ -24,6 +24,7 @@ hugo config [flags]
 ### Options inherited from parent commands
 
 ```
+      --clock string               set the clock used by Hugo, e.g. --clock 2021-11-06T22:30:00.00+09:00
       --config string              config file (default is path/config.yaml|json|toml)
       --configDir string           config dir (default "config")
       --debug                      debug output
index 76592620ba16a626d4b316602fb14d8f531070b9..0bcc3ac78db9966b3891a6800a5088bde599f091 100644 (file)
@@ -20,6 +20,7 @@ hugo config mounts [flags]
 ### Options inherited from parent commands
 
 ```
+      --clock string               set the clock used by Hugo, e.g. --clock 2021-11-06T22:30:00.00+09:00
       --config string              config file (default is path/config.yaml|json|toml)
       --configDir string           config dir (default "config")
       --debug                      debug output
index 686506211af1f43eb2700dc4c7a24e6c296e65d3..2e5e9aa6ab72d3ab6d562a46a151c1682699616c 100644 (file)
@@ -24,6 +24,7 @@ See convert's subcommands toJSON, toTOML and toYAML for more information.
 ### Options inherited from parent commands
 
 ```
+      --clock string               set the clock used by Hugo, e.g. --clock 2021-11-06T22:30:00.00+09:00
       --config string              config file (default is path/config.yaml|json|toml)
       --configDir string           config dir (default "config")
       --debug                      debug output
index b055529c03c207177962954ba4bf97832293a045..2c437d13aaa1b970d87a1127f6e1e4190d828851 100644 (file)
@@ -25,6 +25,7 @@ hugo convert toJSON [flags]
 ### Options inherited from parent commands
 
 ```
+      --clock string               set the clock used by Hugo, e.g. --clock 2021-11-06T22:30:00.00+09:00
       --config string              config file (default is path/config.yaml|json|toml)
       --configDir string           config dir (default "config")
       --debug                      debug output
index cc98e3e3025e1333385ac798f6edcbb475ee17b9..d45935beb1231cd8cab9787c6055a5967b1582f5 100644 (file)
@@ -25,6 +25,7 @@ hugo convert toTOML [flags]
 ### Options inherited from parent commands
 
 ```
+      --clock string               set the clock used by Hugo, e.g. --clock 2021-11-06T22:30:00.00+09:00
       --config string              config file (default is path/config.yaml|json|toml)
       --configDir string           config dir (default "config")
       --debug                      debug output
index fd3c3c08c5567ff28f1c2e77ca39e05249a21b36..113efcd6b0203b17da55d453db3fb888aba54f6b 100644 (file)
@@ -25,6 +25,7 @@ hugo convert toYAML [flags]
 ### Options inherited from parent commands
 
 ```
+      --clock string               set the clock used by Hugo, e.g. --clock 2021-11-06T22:30:00.00+09:00
       --config string              config file (default is path/config.yaml|json|toml)
       --configDir string           config dir (default "config")
       --debug                      debug output
index 336bd0348e8f31276c2c7a601592a7a2eaeb1520..b8638c6742ebdee59d648000ad60d18a5b4a86fa 100644 (file)
@@ -34,6 +34,7 @@ hugo deploy [flags]
 ### Options inherited from parent commands
 
 ```
+      --clock string               set the clock used by Hugo, e.g. --clock 2021-11-06T22:30:00.00+09:00
       --config string              config file (default is path/config.yaml|json|toml)
       --configDir string           config dir (default "config")
       --debug                      debug output
index 3fad2ace17545ea8a380cab0b114165e3d99172d..c1d7b67b7cb98d3368dadcc806d6aeb34246c219 100644 (file)
@@ -27,6 +27,7 @@ hugo env [flags]
 ### Options inherited from parent commands
 
 ```
+      --clock string               set the clock used by Hugo, e.g. --clock 2021-11-06T22:30:00.00+09:00
       --config string              config file (default is path/config.yaml|json|toml)
       --configDir string           config dir (default "config")
       --debug                      debug output
index 55fb1f2bbb9e3ac286708f4a239718ce27518ae2..aeb5a66ca14f0f09f9919086fa6a8752e3354e7a 100644 (file)
@@ -16,6 +16,7 @@ A collection of several useful generators.
 ### Options inherited from parent commands
 
 ```
+      --clock string               set the clock used by Hugo, e.g. --clock 2021-11-06T22:30:00.00+09:00
       --config string              config file (default is path/config.yaml|json|toml)
       --configDir string           config dir (default "config")
       --debug                      debug output
index c032056bf3ce1f10bd0102d21e734c616302321a..6c39faf7d14ccf7bac01bd3e72720c3f38db129e 100644 (file)
@@ -29,6 +29,7 @@ hugo gen chromastyles [flags]
 ### Options inherited from parent commands
 
 ```
+      --clock string               set the clock used by Hugo, e.g. --clock 2021-11-06T22:30:00.00+09:00
       --config string              config file (default is path/config.yaml|json|toml)
       --configDir string           config dir (default "config")
       --debug                      debug output
index 6dc7dcf41b7144ae52713090728d37f135c09293..f8d1ab4e5aece0573a2691e9ef99a7167421d709 100644 (file)
@@ -31,6 +31,7 @@ hugo gen doc [flags]
 ### Options inherited from parent commands
 
 ```
+      --clock string               set the clock used by Hugo, e.g. --clock 2021-11-06T22:30:00.00+09:00
       --config string              config file (default is path/config.yaml|json|toml)
       --configDir string           config dir (default "config")
       --debug                      debug output
index e39a97999db4d137baf4c6f49da691930e35898a..a01b7ccd335749bb70dd8201f12ba5bc25f08b9a 100644 (file)
@@ -27,6 +27,7 @@ hugo gen man [flags]
 ### Options inherited from parent commands
 
 ```
+      --clock string               set the clock used by Hugo, e.g. --clock 2021-11-06T22:30:00.00+09:00
       --config string              config file (default is path/config.yaml|json|toml)
       --configDir string           config dir (default "config")
       --debug                      debug output
index 24cf2954118d70ceb6f92ddc2cf267f6ba497fe4..e297ff9276092bccfac56c80750ddcfe3a9e054c 100644 (file)
@@ -22,6 +22,7 @@ Import requires a subcommand, e.g. `hugo import jekyll jekyll_root_path target_p
 ### Options inherited from parent commands
 
 ```
+      --clock string               set the clock used by Hugo, e.g. --clock 2021-11-06T22:30:00.00+09:00
       --config string              config file (default is path/config.yaml|json|toml)
       --configDir string           config dir (default "config")
       --debug                      debug output
index 08f97fb43955fc80b9fe2217f742be94714ad95e..5686f511eeeabadc1efc7d39bef7c988a6af1b21 100644 (file)
@@ -27,6 +27,7 @@ hugo import jekyll [flags]
 ### Options inherited from parent commands
 
 ```
+      --clock string               set the clock used by Hugo, e.g. --clock 2021-11-06T22:30:00.00+09:00
       --config string              config file (default is path/config.yaml|json|toml)
       --configDir string           config dir (default "config")
       --debug                      debug output
index ed5836fef22904d664d444344359fc39d0a84aaa..4099d01eeb284da460db92afd7d7d64a14d220c4 100644 (file)
@@ -22,6 +22,7 @@ List requires a subcommand, e.g. `hugo list drafts`.
 ### Options inherited from parent commands
 
 ```
+      --clock string               set the clock used by Hugo, e.g. --clock 2021-11-06T22:30:00.00+09:00
       --config string              config file (default is path/config.yaml|json|toml)
       --configDir string           config dir (default "config")
       --debug                      debug output
index 1bc26e79bcc234d54dee7c9b99049767fd623f44..a179df34350b12d9214f9e8934774aee813dc6b2 100644 (file)
@@ -24,6 +24,7 @@ hugo list all [flags]
 ### Options inherited from parent commands
 
 ```
+      --clock string               set the clock used by Hugo, e.g. --clock 2021-11-06T22:30:00.00+09:00
       --config string              config file (default is path/config.yaml|json|toml)
       --configDir string           config dir (default "config")
       --debug                      debug output
index 5a59db5009bc8c7618c5beb5decac0af7ffac37e..0ef3525dd9a08e2b71e5a105a97488d961ac5c90 100644 (file)
@@ -24,6 +24,7 @@ hugo list drafts [flags]
 ### Options inherited from parent commands
 
 ```
+      --clock string               set the clock used by Hugo, e.g. --clock 2021-11-06T22:30:00.00+09:00
       --config string              config file (default is path/config.yaml|json|toml)
       --configDir string           config dir (default "config")
       --debug                      debug output
index 85c78632cbb4752c8275ba306016abddc82ccbb5..8e43a6c14b9bd176f34453b1342035a890abf775 100644 (file)
@@ -24,6 +24,7 @@ hugo list expired [flags]
 ### Options inherited from parent commands
 
 ```
+      --clock string               set the clock used by Hugo, e.g. --clock 2021-11-06T22:30:00.00+09:00
       --config string              config file (default is path/config.yaml|json|toml)
       --configDir string           config dir (default "config")
       --debug                      debug output
index 0c2b3b6c329a96dfdbcfa18d1806dc02bf36ff88..db756392a909b70c3ff66899a0a327f03c3bc191 100644 (file)
@@ -24,6 +24,7 @@ hugo list future [flags]
 ### Options inherited from parent commands
 
 ```
+      --clock string               set the clock used by Hugo, e.g. --clock 2021-11-06T22:30:00.00+09:00
       --config string              config file (default is path/config.yaml|json|toml)
       --configDir string           config dir (default "config")
       --debug                      debug output
index 4a154383577be9f72c24791b289876011b31b689..87daff59535803862d755a4e1087d252de07712c 100644 (file)
@@ -59,6 +59,7 @@ See https://gohugo.io/hugo-modules/ for more information.
 ### Options inherited from parent commands
 
 ```
+      --clock string               set the clock used by Hugo, e.g. --clock 2021-11-06T22:30:00.00+09:00
       --config string              config file (default is path/config.yaml|json|toml)
       --configDir string           config dir (default "config")
       --debug                      debug output
index e8a86d3fa81dfe12509a8057028a4767c85bd73c..d99db11b2aa10ec514a5ce16a3241ea03e36153e 100644 (file)
@@ -32,6 +32,7 @@ hugo mod clean [flags]
 ### Options inherited from parent commands
 
 ```
+      --clock string               set the clock used by Hugo, e.g. --clock 2021-11-06T22:30:00.00+09:00
       --config string              config file (default is path/config.yaml|json|toml)
       --configDir string           config dir (default "config")
       --debug                      debug output
index d63e380aede34705f1fa5883085a9e85fdb37443..298a5808b3abf7b215b9d95593521a6cc7998e10 100644 (file)
@@ -50,6 +50,7 @@ hugo mod get [flags]
 ### Options inherited from parent commands
 
 ```
+      --clock string               set the clock used by Hugo, e.g. --clock 2021-11-06T22:30:00.00+09:00
       --config string              config file (default is path/config.yaml|json|toml)
       --configDir string           config dir (default "config")
       --debug                      debug output
index 6889a28232a9f014a1db177dbe0d63ccdbd59cd5..bff68e2174cafb6fce2c7d28b184c69c759b62b9 100644 (file)
@@ -26,6 +26,7 @@ hugo mod graph [flags]
 ### Options inherited from parent commands
 
 ```
+      --clock string               set the clock used by Hugo, e.g. --clock 2021-11-06T22:30:00.00+09:00
       --config string              config file (default is path/config.yaml|json|toml)
       --configDir string           config dir (default "config")
       --debug                      debug output
index 824973d4dc9ba07255942c75fbd833515e6d83a5..5cd25be1a56bd39d079c493550b119944bf8ee00 100644 (file)
@@ -31,6 +31,7 @@ hugo mod init [flags]
 ### Options inherited from parent commands
 
 ```
+      --clock string               set the clock used by Hugo, e.g. --clock 2021-11-06T22:30:00.00+09:00
       --config string              config file (default is path/config.yaml|json|toml)
       --configDir string           config dir (default "config")
       --debug                      debug output
index db38fd2d805343a26c52f3a9ce134410f5c381e1..c9dc16d7baad16a26c72e050d859c1e5869bb32b 100644 (file)
@@ -24,6 +24,7 @@ hugo mod npm [flags]
 ### Options inherited from parent commands
 
 ```
+      --clock string               set the clock used by Hugo, e.g. --clock 2021-11-06T22:30:00.00+09:00
       --config string              config file (default is path/config.yaml|json|toml)
       --configDir string           config dir (default "config")
       --debug                      debug output
index cde0c452b22c70e9b9db70724cfe857361b1585f..134cb66c499a759db7b434879c9741df47d3fb8e 100644 (file)
@@ -34,6 +34,7 @@ hugo mod npm pack [flags]
 ### Options inherited from parent commands
 
 ```
+      --clock string               set the clock used by Hugo, e.g. --clock 2021-11-06T22:30:00.00+09:00
       --config string              config file (default is path/config.yaml|json|toml)
       --configDir string           config dir (default "config")
       --debug                      debug output
index 76dcd8e117eed7927edb268581a0dd22b74d1ec8..448697b1c903184cdd763234e17e84e2a67b4ee6 100644 (file)
@@ -20,6 +20,7 @@ hugo mod tidy [flags]
 ### Options inherited from parent commands
 
 ```
+      --clock string               set the clock used by Hugo, e.g. --clock 2021-11-06T22:30:00.00+09:00
       --config string              config file (default is path/config.yaml|json|toml)
       --configDir string           config dir (default "config")
       --debug                      debug output
index cde46591f8de055aa5cf424d69cbeda53188e240..5758a3b4918e3882f40624a107d011e1c2deff32 100644 (file)
@@ -27,6 +27,7 @@ hugo mod vendor [flags]
 ### Options inherited from parent commands
 
 ```
+      --clock string               set the clock used by Hugo, e.g. --clock 2021-11-06T22:30:00.00+09:00
       --config string              config file (default is path/config.yaml|json|toml)
       --configDir string           config dir (default "config")
       --debug                      debug output
index 079245291b66bfe46da1221b74139731ccd13d59..6a21c2076c26ce6e67a7062ef1ee3f6951035eec 100644 (file)
@@ -26,6 +26,7 @@ hugo mod verify [flags]
 ### Options inherited from parent commands
 
 ```
+      --clock string               set the clock used by Hugo, e.g. --clock 2021-11-06T22:30:00.00+09:00
       --config string              config file (default is path/config.yaml|json|toml)
       --configDir string           config dir (default "config")
       --debug                      debug output
index a396ef80718d34830ca33720d88eaf378aecdb06..e1f5eb620935054e7220d8e90b30512c46f52fbd 100644 (file)
@@ -60,6 +60,7 @@ hugo new [path] [flags]
 ### Options inherited from parent commands
 
 ```
+      --clock string               set the clock used by Hugo, e.g. --clock 2021-11-06T22:30:00.00+09:00
       --config string              config file (default is path/config.yaml|json|toml)
       --configDir string           config dir (default "config")
       --debug                      debug output
index 250e5b795c0b46a58f3a5d8f042b9394e3be57f0..10ef7c7ae470136ba2f5df14ee52c34cdad1554c 100644 (file)
@@ -28,6 +28,7 @@ hugo new site [path] [flags]
 ### Options inherited from parent commands
 
 ```
+      --clock string               set the clock used by Hugo, e.g. --clock 2021-11-06T22:30:00.00+09:00
       --config string              config file (default is path/config.yaml|json|toml)
       --configDir string           config dir (default "config")
       --debug                      debug output
index 0908f01e1569c98fd49353d28a0f16f63849b688..5d2d40216ddc8c50f7cbf24313eb4fbd006bb1ea 100644 (file)
@@ -27,6 +27,7 @@ hugo new theme [name] [flags]
 ### Options inherited from parent commands
 
 ```
+      --clock string               set the clock used by Hugo, e.g. --clock 2021-11-06T22:30:00.00+09:00
       --config string              config file (default is path/config.yaml|json|toml)
       --configDir string           config dir (default "config")
       --debug                      debug output
index 7d8067386bac425395d131da7d15f8e8c7c8d600..7bbe46197b2ce6d3a464c5d6e5e80bd07a5f09c4 100644 (file)
@@ -76,6 +76,7 @@ hugo server [flags]
 ### Options inherited from parent commands
 
 ```
+      --clock string               set the clock used by Hugo, e.g. --clock 2021-11-06T22:30:00.00+09:00
       --config string              config file (default is path/config.yaml|json|toml)
       --configDir string           config dir (default "config")
       --debug                      debug output
index 8d3a65dd3e410db107033eb17f7920a4dadcc494..e6e8fcaa14e474255a127b3385247356212567af 100644 (file)
@@ -24,6 +24,7 @@ hugo version [flags]
 ### Options inherited from parent commands
 
 ```
+      --clock string               set the clock used by Hugo, e.g. --clock 2021-11-06T22:30:00.00+09:00
       --config string              config file (default is path/config.yaml|json|toml)
       --configDir string           config dir (default "config")
       --debug                      debug output
index 82d95f6f16e1cf914e908c770deb624d331b2a57..2eeb1aa1b0413dbf0af24018764175cf68fc3c2a 100644 (file)
@@ -544,10 +544,10 @@ Hugo will generate your website with these missing translation placeholders. It
 
 For merging of content from other languages (i.e. missing content translations), see [lang.Merge].
 
-To track down missing translation strings, run Hugo with the `--i18n-warnings` flag:
+To track down missing translation strings, run Hugo with the `--printI18nWarnings` flag:
 
 ```bash
-hugo --i18n-warnings | grep i18n
+hugo --printI18nWarnings | grep i18n
 i18n|MISSING_TRANSLATION|en|wordCount
 ```
 
index 96ecb930a265abe1585b6df10062645e822b4984..fc5ae2501525ecfd21554b36f4f172b68273a489 100644 (file)
@@ -43,56 +43,63 @@ Usage:
   hugo [command]
 
 Available Commands:
-  check       Contains some verification checks
+  completion  Generate the autocompletion script for the specified shell
   config      Print the site configuration
   convert     Convert your content to different formats
+  deploy      Deploy your site to a Cloud provider.
   env         Print Hugo version and environment info
   gen         A collection of several useful generators.
   help        Help about any command
   import      Import your site from others.
   list        Listing out various types of content
+  mod         Various Hugo Modules helpers.
   new         Create new content for your site
   server      A high performance webserver
   version     Print the version number of Hugo
 
 Flags:
-  -b, --baseURL string         hostname (and path) to the root, e.g. https://spf13.com/
-  -D, --buildDrafts            include content marked as draft
-  -E, --buildExpired           include expired content
-  -F, --buildFuture            include content with publishdate in the future
-      --cacheDir string        filesystem path to cache directory. Defaults: $TMPDIR/hugo_cache/
-      --cleanDestinationDir    remove files from destination not found in static directories
-      --config string          config file (default is path/config.yaml|json|toml)
-      --configDir string       config dir (default "config")
-  -c, --contentDir string      filesystem path to content directory
-      --debug                  debug output
-  -d, --destination string     filesystem path to write files to
-      --disableKinds strings   disable different kind of pages (home, RSS etc.)
-      --enableGitInfo          add Git revision, date and author info to the pages
-  -e, --environment string     build environment
-      --forceSyncStatic        copy all files when static is changed.
-      --gc                     enable to run some cleanup tasks (remove unused cache files) after the build
-  -h, --help                   help for hugo
-      --i18n-warnings          print missing translations
-      --ignoreCache            ignores the cache directory
-  -l, --layoutDir string       filesystem path to layout directory
-      --log                    enable Logging
-      --logFile string         log File path (if set, logging enabled automatically)
-      --minify                 minify any supported output format (HTML, XML etc.)
-      --noChmod                don't sync permission mode of files
-      --noTimes                don't sync modification time of files
-      --path-warnings          print warnings on duplicate target paths etc.
-      --quiet                  build in quiet mode
-      --renderToMemory         render to memory (only useful for benchmark testing)
-  -s, --source string          filesystem path to read files relative from
-      --templateMetrics        display metrics about template executions
-      --templateMetricsHints   calculate some improvement hints when combined with --templateMetrics
-  -t, --theme strings          themes to use (located in /themes/THEMENAME/)
-      --themesDir string       filesystem path to themes directory
-      --trace file             write trace to file (not useful in general)
-  -v, --verbose                verbose output
-      --verboseLog             verbose logging
-  -w, --watch                  watch filesystem for changes and recreate as needed
+  -b, --baseURL string             hostname (and path) to the root, e.g. https://spf13.com/
+  -D, --buildDrafts                include content marked as draft
+  -E, --buildExpired               include expired content
+  -F, --buildFuture                include content with publishdate in the future
+      --cacheDir string            filesystem path to cache directory. Defaults: $TMPDIR/hugo_cache/
+      --cleanDestinationDir        remove files from destination not found in static directories
+      --config string              config file (default is path/config.yaml|json|toml)
+      --configDir string           config dir (default "config")
+  -c, --contentDir string          filesystem path to content directory
+      --debug                      debug output
+  -d, --destination string         filesystem path to write files to
+      --disableKinds strings       disable different kind of pages (home, RSS etc.)
+      --enableGitInfo              add Git revision, date, author, and CODEOWNERS info to the pages
+  -e, --environment string         build environment
+      --forceSyncStatic            copy all files when static is changed.
+      --gc                         enable to run some cleanup tasks (remove unused cache files) after the build
+  -h, --help                       help for hugo
+      --ignoreCache                ignores the cache directory
+      --ignoreVendorPaths string   ignores any _vendor for module paths matching the given Glob pattern
+  -l, --layoutDir string           filesystem path to layout directory
+      --log                        enable Logging
+      --logFile string             log File path (if set, logging enabled automatically)
+      --minify                     minify any supported output format (HTML, XML etc.)
+      --noChmod                    don't sync permission mode of files
+      --noTimes                    don't sync modification time of files
+      --panicOnWarning             panic on first WARNING log
+      --poll string                set this to a poll interval, e.g --poll 700ms, to use a poll based approach to watch for file system changes
+      --printI18nWarnings          print missing translations
+      --printMemoryUsage           print memory usage to screen at intervals
+      --printPathWarnings          print warnings on duplicate target paths etc.
+      --printUnusedTemplates       print warnings on unused templates.
+      --quiet                      build in quiet mode
+      --renderToMemory             render to memory (only useful for benchmark testing)
+  -s, --source string              filesystem path to read files relative from
+      --templateMetrics            display metrics about template executions
+      --templateMetricsHints       calculate some improvement hints when combined with --templateMetrics
+  -t, --theme strings              themes to use (located in /themes/THEMENAME/)
+      --themesDir string           filesystem path to themes directory
+      --trace file                 write trace to file (not useful in general)
+  -v, --verbose                    verbose output
+      --verboseLog                 verbose logging
+  -w, --watch                      watch filesystem for changes and recreate as needed
 
 Use "hugo [command] --help" for more information about a command.
 ```
index fddc7e9cf10ea3af225e1b2286f09bb1b9768b38..f8c9c2b0bd611d02718ca714233f387beb9b1112 100755 (executable)
@@ -44,6 +44,9 @@ URL imports (e.g. `@import url('https://fonts.googleapis.com/css?family=Open+San
 Note that this import routine does not care about the CSS spec, so you can have @import anywhere in the file.
 Hugo will look for imports relative to the module mount and will respect theme overrides.
 
+skipInlineImportsNotFound [bool] {{< new-in "0.99.0" >}}
+:Before Hugo 0.99.0 when `inlineImports` was enabled and we failed to resolve an import, we logged it as a warning. We now fail the build. If you have regular CSS imports in your CSS that you want to preserve, you can either use imports with URL or media queries (Hugo does not try to resolve those) or set `skipInlineImportsNotFound` to true.
+
 _If no configuration file is used:_
 
 use [string]
index 801df71ccb9c562c3ed6db82104f5452bf1ca23b..ba66afa86a666180611b3d0c40cdb2e10cd22a5d 100644 (file)
@@ -107,7 +107,7 @@ The custom variables need to be prefixed with `$`.
 {{ $address := "123 Main St." }}
 {{ $address }}
 ```
-Vriables can be re-defined using the `=` operator. The example below
+Variables can be re-defined using the `=` operator. The example below
 prints "Var is Hugo Home" on the home page, and "Var is Hugo Page" on
 all other pages:
 
index 0662c4f60d7fc02fab4efdda38f77829c1ddd531..bd0c7b34b94333e37d763c86191a6c18b05c8011 100644 (file)
@@ -3,7 +3,7 @@ publish = "public"
 command = "hugo --gc --minify"
 
 [context.production.environment]
-HUGO_VERSION = "0.98.0"
+HUGO_VERSION = "0.99.1"
 HUGO_ENV = "production"
 HUGO_ENABLEGITINFO = "true"
 
@@ -11,20 +11,20 @@ HUGO_ENABLEGITINFO = "true"
 command = "hugo --gc --minify --enableGitInfo"
 
 [context.split1.environment]
-HUGO_VERSION = "0.98.0"
+HUGO_VERSION = "0.99.1"
 HUGO_ENV = "production"
 
 [context.deploy-preview]
 command = "hugo --gc --minify --buildFuture -b $DEPLOY_PRIME_URL"
 
 [context.deploy-preview.environment]
-HUGO_VERSION = "0.98.0"
+HUGO_VERSION = "0.99.1"
 
 [context.branch-deploy]
 command = "hugo --gc --minify -b $DEPLOY_PRIME_URL"
 
 [context.branch-deploy.environment]
-HUGO_VERSION = "0.98.0"
+HUGO_VERSION = "0.99.1"
 
 [context.next.environment]
 HUGO_ENABLEGITINFO = "true"