From ffdbce5787a45e8537b7a77515ca06e4deee2504 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B8rn=20Erik=20Pedersen?= Date: Sat, 27 May 2023 17:03:14 +0200 Subject: [PATCH] docs: Regen CLI docs --- docs/content/en/commands/hugo.md | 1 - docs/content/en/commands/hugo_completion.md | 1 - docs/content/en/commands/hugo_completion_bash.md | 1 - docs/content/en/commands/hugo_completion_fish.md | 1 - docs/content/en/commands/hugo_completion_powershell.md | 1 - docs/content/en/commands/hugo_completion_zsh.md | 1 - docs/content/en/commands/hugo_config.md | 3 ++- docs/content/en/commands/hugo_config_mounts.md | 1 - docs/content/en/commands/hugo_convert_toJSON.md | 1 - docs/content/en/commands/hugo_convert_toTOML.md | 1 - docs/content/en/commands/hugo_convert_toYAML.md | 1 - docs/content/en/commands/hugo_env.md | 1 - docs/content/en/commands/hugo_gen.md | 1 - docs/content/en/commands/hugo_gen_chromastyles.md | 1 - docs/content/en/commands/hugo_gen_doc.md | 1 - docs/content/en/commands/hugo_gen_man.md | 1 - docs/content/en/commands/hugo_import.md | 1 - docs/content/en/commands/hugo_import_jekyll.md | 1 - docs/content/en/commands/hugo_list_all.md | 1 - docs/content/en/commands/hugo_list_drafts.md | 1 - docs/content/en/commands/hugo_list_expired.md | 1 - docs/content/en/commands/hugo_list_future.md | 1 - docs/content/en/commands/hugo_mod_clean.md | 1 - docs/content/en/commands/hugo_mod_get.md | 1 - docs/content/en/commands/hugo_mod_graph.md | 1 - docs/content/en/commands/hugo_mod_init.md | 1 - docs/content/en/commands/hugo_mod_npm.md | 1 - docs/content/en/commands/hugo_mod_npm_pack.md | 1 - docs/content/en/commands/hugo_mod_tidy.md | 1 - docs/content/en/commands/hugo_mod_vendor.md | 1 - docs/content/en/commands/hugo_mod_verify.md | 1 - docs/content/en/commands/hugo_new_content.md | 1 + docs/content/en/commands/hugo_new_site.md | 5 ++--- docs/content/en/commands/hugo_version.md | 1 - 34 files changed, 5 insertions(+), 35 deletions(-) diff --git a/docs/content/en/commands/hugo.md b/docs/content/en/commands/hugo.md index 8dbdd623169..73d443169e6 100644 --- a/docs/content/en/commands/hugo.md +++ b/docs/content/en/commands/hugo.md @@ -39,7 +39,6 @@ hugo [flags] --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. - --format string preferred file format (toml, yaml or json) (default "toml") --gc enable to run some cleanup tasks (remove unused cache files) after the build -h, --help help for hugo --ignoreCache ignores the cache directory diff --git a/docs/content/en/commands/hugo_completion.md b/docs/content/en/commands/hugo_completion.md index 7ab87f800a9..d7cc64cc2fb 100644 --- a/docs/content/en/commands/hugo_completion.md +++ b/docs/content/en/commands/hugo_completion.md @@ -28,7 +28,6 @@ See each sub-command's help for details on how to use the generated script. --debug debug output -d, --destination string filesystem path to write files to -e, --environment string build environment - --format string preferred file format (toml, yaml or json) (default "toml") --ignoreVendorPaths string ignores any _vendor for module paths matching the given Glob pattern --log enable Logging --logFile string log File path (if set, logging enabled automatically) diff --git a/docs/content/en/commands/hugo_completion_bash.md b/docs/content/en/commands/hugo_completion_bash.md index a4d4d6f11d9..eb6fdd8d47a 100644 --- a/docs/content/en/commands/hugo_completion_bash.md +++ b/docs/content/en/commands/hugo_completion_bash.md @@ -51,7 +51,6 @@ hugo completion bash --debug debug output -d, --destination string filesystem path to write files to -e, --environment string build environment - --format string preferred file format (toml, yaml or json) (default "toml") --ignoreVendorPaths string ignores any _vendor for module paths matching the given Glob pattern --log enable Logging --logFile string log File path (if set, logging enabled automatically) diff --git a/docs/content/en/commands/hugo_completion_fish.md b/docs/content/en/commands/hugo_completion_fish.md index 6fe2d7f1650..f81acb8afea 100644 --- a/docs/content/en/commands/hugo_completion_fish.md +++ b/docs/content/en/commands/hugo_completion_fish.md @@ -42,7 +42,6 @@ hugo completion fish [flags] --debug debug output -d, --destination string filesystem path to write files to -e, --environment string build environment - --format string preferred file format (toml, yaml or json) (default "toml") --ignoreVendorPaths string ignores any _vendor for module paths matching the given Glob pattern --log enable Logging --logFile string log File path (if set, logging enabled automatically) diff --git a/docs/content/en/commands/hugo_completion_powershell.md b/docs/content/en/commands/hugo_completion_powershell.md index 614023dbb67..5f900ec594a 100644 --- a/docs/content/en/commands/hugo_completion_powershell.md +++ b/docs/content/en/commands/hugo_completion_powershell.md @@ -39,7 +39,6 @@ hugo completion powershell [flags] --debug debug output -d, --destination string filesystem path to write files to -e, --environment string build environment - --format string preferred file format (toml, yaml or json) (default "toml") --ignoreVendorPaths string ignores any _vendor for module paths matching the given Glob pattern --log enable Logging --logFile string log File path (if set, logging enabled automatically) diff --git a/docs/content/en/commands/hugo_completion_zsh.md b/docs/content/en/commands/hugo_completion_zsh.md index 7e17bc96dff..fbe5c6ad4c4 100644 --- a/docs/content/en/commands/hugo_completion_zsh.md +++ b/docs/content/en/commands/hugo_completion_zsh.md @@ -53,7 +53,6 @@ hugo completion zsh [flags] --debug debug output -d, --destination string filesystem path to write files to -e, --environment string build environment - --format string preferred file format (toml, yaml or json) (default "toml") --ignoreVendorPaths string ignores any _vendor for module paths matching the given Glob pattern --log enable Logging --logFile string log File path (if set, logging enabled automatically) diff --git a/docs/content/en/commands/hugo_config.md b/docs/content/en/commands/hugo_config.md index 7756465769c..447c97c968a 100644 --- a/docs/content/en/commands/hugo_config.md +++ b/docs/content/en/commands/hugo_config.md @@ -18,7 +18,8 @@ hugo config [command] [flags] ### Options ``` - -h, --help help for config + --format string preferred file format (toml, yaml or json) (default "toml") + -h, --help help for config ``` ### Options inherited from parent commands diff --git a/docs/content/en/commands/hugo_config_mounts.md b/docs/content/en/commands/hugo_config_mounts.md index 1019f5102aa..9ec0a5e7fe9 100644 --- a/docs/content/en/commands/hugo_config_mounts.md +++ b/docs/content/en/commands/hugo_config_mounts.md @@ -26,7 +26,6 @@ hugo config mounts [flags] [args] --debug debug output -d, --destination string filesystem path to write files to -e, --environment string build environment - --format string preferred file format (toml, yaml or json) (default "toml") --ignoreVendorPaths string ignores any _vendor for module paths matching the given Glob pattern --log enable Logging --logFile string log File path (if set, logging enabled automatically) diff --git a/docs/content/en/commands/hugo_convert_toJSON.md b/docs/content/en/commands/hugo_convert_toJSON.md index 73c2fc3038a..4b811f49e67 100644 --- a/docs/content/en/commands/hugo_convert_toJSON.md +++ b/docs/content/en/commands/hugo_convert_toJSON.md @@ -31,7 +31,6 @@ hugo convert toJSON [flags] [args] --debug debug output -d, --destination string filesystem path to write files to -e, --environment string build environment - --format string preferred file format (toml, yaml or json) (default "toml") --ignoreVendorPaths string ignores any _vendor for module paths matching the given Glob pattern --log enable Logging --logFile string log File path (if set, logging enabled automatically) diff --git a/docs/content/en/commands/hugo_convert_toTOML.md b/docs/content/en/commands/hugo_convert_toTOML.md index 9141eb1a222..19d847e9019 100644 --- a/docs/content/en/commands/hugo_convert_toTOML.md +++ b/docs/content/en/commands/hugo_convert_toTOML.md @@ -31,7 +31,6 @@ hugo convert toTOML [flags] [args] --debug debug output -d, --destination string filesystem path to write files to -e, --environment string build environment - --format string preferred file format (toml, yaml or json) (default "toml") --ignoreVendorPaths string ignores any _vendor for module paths matching the given Glob pattern --log enable Logging --logFile string log File path (if set, logging enabled automatically) diff --git a/docs/content/en/commands/hugo_convert_toYAML.md b/docs/content/en/commands/hugo_convert_toYAML.md index a932921cf47..1785d3ad8ab 100644 --- a/docs/content/en/commands/hugo_convert_toYAML.md +++ b/docs/content/en/commands/hugo_convert_toYAML.md @@ -31,7 +31,6 @@ hugo convert toYAML [flags] [args] --debug debug output -d, --destination string filesystem path to write files to -e, --environment string build environment - --format string preferred file format (toml, yaml or json) (default "toml") --ignoreVendorPaths string ignores any _vendor for module paths matching the given Glob pattern --log enable Logging --logFile string log File path (if set, logging enabled automatically) diff --git a/docs/content/en/commands/hugo_env.md b/docs/content/en/commands/hugo_env.md index e001c609891..296e6e00218 100644 --- a/docs/content/en/commands/hugo_env.md +++ b/docs/content/en/commands/hugo_env.md @@ -30,7 +30,6 @@ hugo env [flags] [args] --debug debug output -d, --destination string filesystem path to write files to -e, --environment string build environment - --format string preferred file format (toml, yaml or json) (default "toml") --ignoreVendorPaths string ignores any _vendor for module paths matching the given Glob pattern --log enable Logging --logFile string log File path (if set, logging enabled automatically) diff --git a/docs/content/en/commands/hugo_gen.md b/docs/content/en/commands/hugo_gen.md index b589e2e0fb5..71c6dfe4204 100644 --- a/docs/content/en/commands/hugo_gen.md +++ b/docs/content/en/commands/hugo_gen.md @@ -26,7 +26,6 @@ hugo gen [command] [flags] --debug debug output -d, --destination string filesystem path to write files to -e, --environment string build environment - --format string preferred file format (toml, yaml or json) (default "toml") --ignoreVendorPaths string ignores any _vendor for module paths matching the given Glob pattern --log enable Logging --logFile string log File path (if set, logging enabled automatically) diff --git a/docs/content/en/commands/hugo_gen_chromastyles.md b/docs/content/en/commands/hugo_gen_chromastyles.md index 5ea23381d81..9c41f717454 100644 --- a/docs/content/en/commands/hugo_gen_chromastyles.md +++ b/docs/content/en/commands/hugo_gen_chromastyles.md @@ -35,7 +35,6 @@ hugo gen chromastyles [flags] [args] --debug debug output -d, --destination string filesystem path to write files to -e, --environment string build environment - --format string preferred file format (toml, yaml or json) (default "toml") --ignoreVendorPaths string ignores any _vendor for module paths matching the given Glob pattern --log enable Logging --logFile string log File path (if set, logging enabled automatically) diff --git a/docs/content/en/commands/hugo_gen_doc.md b/docs/content/en/commands/hugo_gen_doc.md index 16593400a3e..59999fb7bed 100644 --- a/docs/content/en/commands/hugo_gen_doc.md +++ b/docs/content/en/commands/hugo_gen_doc.md @@ -36,7 +36,6 @@ hugo gen doc [flags] [args] --debug debug output -d, --destination string filesystem path to write files to -e, --environment string build environment - --format string preferred file format (toml, yaml or json) (default "toml") --ignoreVendorPaths string ignores any _vendor for module paths matching the given Glob pattern --log enable Logging --logFile string log File path (if set, logging enabled automatically) diff --git a/docs/content/en/commands/hugo_gen_man.md b/docs/content/en/commands/hugo_gen_man.md index 3602dcc9347..f2c40d71d3a 100644 --- a/docs/content/en/commands/hugo_gen_man.md +++ b/docs/content/en/commands/hugo_gen_man.md @@ -33,7 +33,6 @@ hugo gen man [flags] [args] --debug debug output -d, --destination string filesystem path to write files to -e, --environment string build environment - --format string preferred file format (toml, yaml or json) (default "toml") --ignoreVendorPaths string ignores any _vendor for module paths matching the given Glob pattern --log enable Logging --logFile string log File path (if set, logging enabled automatically) diff --git a/docs/content/en/commands/hugo_import.md b/docs/content/en/commands/hugo_import.md index ad4907d589c..c9774f466ed 100644 --- a/docs/content/en/commands/hugo_import.md +++ b/docs/content/en/commands/hugo_import.md @@ -32,7 +32,6 @@ hugo import [command] [flags] --debug debug output -d, --destination string filesystem path to write files to -e, --environment string build environment - --format string preferred file format (toml, yaml or json) (default "toml") --ignoreVendorPaths string ignores any _vendor for module paths matching the given Glob pattern --log enable Logging --logFile string log File path (if set, logging enabled automatically) diff --git a/docs/content/en/commands/hugo_import_jekyll.md b/docs/content/en/commands/hugo_import_jekyll.md index 10d603bdff2..4e4876d90e7 100644 --- a/docs/content/en/commands/hugo_import_jekyll.md +++ b/docs/content/en/commands/hugo_import_jekyll.md @@ -33,7 +33,6 @@ hugo import jekyll [flags] [args] --debug debug output -d, --destination string filesystem path to write files to -e, --environment string build environment - --format string preferred file format (toml, yaml or json) (default "toml") --ignoreVendorPaths string ignores any _vendor for module paths matching the given Glob pattern --log enable Logging --logFile string log File path (if set, logging enabled automatically) diff --git a/docs/content/en/commands/hugo_list_all.md b/docs/content/en/commands/hugo_list_all.md index 8edd0a4d911..5ac8a7c359b 100644 --- a/docs/content/en/commands/hugo_list_all.md +++ b/docs/content/en/commands/hugo_list_all.md @@ -30,7 +30,6 @@ hugo list all [flags] [args] --debug debug output -d, --destination string filesystem path to write files to -e, --environment string build environment - --format string preferred file format (toml, yaml or json) (default "toml") --ignoreVendorPaths string ignores any _vendor for module paths matching the given Glob pattern --log enable Logging --logFile string log File path (if set, logging enabled automatically) diff --git a/docs/content/en/commands/hugo_list_drafts.md b/docs/content/en/commands/hugo_list_drafts.md index 5ec870a5d5d..601c7648fbe 100644 --- a/docs/content/en/commands/hugo_list_drafts.md +++ b/docs/content/en/commands/hugo_list_drafts.md @@ -30,7 +30,6 @@ hugo list drafts [flags] [args] --debug debug output -d, --destination string filesystem path to write files to -e, --environment string build environment - --format string preferred file format (toml, yaml or json) (default "toml") --ignoreVendorPaths string ignores any _vendor for module paths matching the given Glob pattern --log enable Logging --logFile string log File path (if set, logging enabled automatically) diff --git a/docs/content/en/commands/hugo_list_expired.md b/docs/content/en/commands/hugo_list_expired.md index 3feae5640bc..47a9cc369da 100644 --- a/docs/content/en/commands/hugo_list_expired.md +++ b/docs/content/en/commands/hugo_list_expired.md @@ -30,7 +30,6 @@ hugo list expired [flags] [args] --debug debug output -d, --destination string filesystem path to write files to -e, --environment string build environment - --format string preferred file format (toml, yaml or json) (default "toml") --ignoreVendorPaths string ignores any _vendor for module paths matching the given Glob pattern --log enable Logging --logFile string log File path (if set, logging enabled automatically) diff --git a/docs/content/en/commands/hugo_list_future.md b/docs/content/en/commands/hugo_list_future.md index 5b331b90b77..5cbb86c7482 100644 --- a/docs/content/en/commands/hugo_list_future.md +++ b/docs/content/en/commands/hugo_list_future.md @@ -30,7 +30,6 @@ hugo list future [flags] [args] --debug debug output -d, --destination string filesystem path to write files to -e, --environment string build environment - --format string preferred file format (toml, yaml or json) (default "toml") --ignoreVendorPaths string ignores any _vendor for module paths matching the given Glob pattern --log enable Logging --logFile string log File path (if set, logging enabled automatically) diff --git a/docs/content/en/commands/hugo_mod_clean.md b/docs/content/en/commands/hugo_mod_clean.md index 922fab2abe9..ad97610cd34 100644 --- a/docs/content/en/commands/hugo_mod_clean.md +++ b/docs/content/en/commands/hugo_mod_clean.md @@ -32,7 +32,6 @@ hugo mod clean [flags] [args] --debug debug output -d, --destination string filesystem path to write files to -e, --environment string build environment - --format string preferred file format (toml, yaml or json) (default "toml") --ignoreVendorPaths string ignores any _vendor for module paths matching the given Glob pattern --log enable Logging --logFile string log File path (if set, logging enabled automatically) diff --git a/docs/content/en/commands/hugo_mod_get.md b/docs/content/en/commands/hugo_mod_get.md index d0d0f85d3cb..21fa1f967f7 100644 --- a/docs/content/en/commands/hugo_mod_get.md +++ b/docs/content/en/commands/hugo_mod_get.md @@ -56,7 +56,6 @@ hugo mod get [flags] [args] --debug debug output -d, --destination string filesystem path to write files to -e, --environment string build environment - --format string preferred file format (toml, yaml or json) (default "toml") --ignoreVendorPaths string ignores any _vendor for module paths matching the given Glob pattern --log enable Logging --logFile string log File path (if set, logging enabled automatically) diff --git a/docs/content/en/commands/hugo_mod_graph.md b/docs/content/en/commands/hugo_mod_graph.md index da72a2a3129..79ff3170f33 100644 --- a/docs/content/en/commands/hugo_mod_graph.md +++ b/docs/content/en/commands/hugo_mod_graph.md @@ -33,7 +33,6 @@ hugo mod graph [flags] [args] --debug debug output -d, --destination string filesystem path to write files to -e, --environment string build environment - --format string preferred file format (toml, yaml or json) (default "toml") --ignoreVendorPaths string ignores any _vendor for module paths matching the given Glob pattern --log enable Logging --logFile string log File path (if set, logging enabled automatically) diff --git a/docs/content/en/commands/hugo_mod_init.md b/docs/content/en/commands/hugo_mod_init.md index 7d5f77aa789..ad4501b6442 100644 --- a/docs/content/en/commands/hugo_mod_init.md +++ b/docs/content/en/commands/hugo_mod_init.md @@ -37,7 +37,6 @@ hugo mod init [flags] [args] --debug debug output -d, --destination string filesystem path to write files to -e, --environment string build environment - --format string preferred file format (toml, yaml or json) (default "toml") --ignoreVendorPaths string ignores any _vendor for module paths matching the given Glob pattern --log enable Logging --logFile string log File path (if set, logging enabled automatically) diff --git a/docs/content/en/commands/hugo_mod_npm.md b/docs/content/en/commands/hugo_mod_npm.md index 12ec71b77ca..8e13a7294f7 100644 --- a/docs/content/en/commands/hugo_mod_npm.md +++ b/docs/content/en/commands/hugo_mod_npm.md @@ -30,7 +30,6 @@ hugo mod npm [command] [flags] --debug debug output -d, --destination string filesystem path to write files to -e, --environment string build environment - --format string preferred file format (toml, yaml or json) (default "toml") --ignoreVendorPaths string ignores any _vendor for module paths matching the given Glob pattern --log enable Logging --logFile string log File path (if set, logging enabled automatically) diff --git a/docs/content/en/commands/hugo_mod_npm_pack.md b/docs/content/en/commands/hugo_mod_npm_pack.md index b923db82c2e..aadac772be7 100644 --- a/docs/content/en/commands/hugo_mod_npm_pack.md +++ b/docs/content/en/commands/hugo_mod_npm_pack.md @@ -40,7 +40,6 @@ hugo mod npm pack [flags] [args] --debug debug output -d, --destination string filesystem path to write files to -e, --environment string build environment - --format string preferred file format (toml, yaml or json) (default "toml") --ignoreVendorPaths string ignores any _vendor for module paths matching the given Glob pattern --log enable Logging --logFile string log File path (if set, logging enabled automatically) diff --git a/docs/content/en/commands/hugo_mod_tidy.md b/docs/content/en/commands/hugo_mod_tidy.md index 63cb52ca6b2..9c665f1c5ba 100644 --- a/docs/content/en/commands/hugo_mod_tidy.md +++ b/docs/content/en/commands/hugo_mod_tidy.md @@ -26,7 +26,6 @@ hugo mod tidy [flags] [args] --debug debug output -d, --destination string filesystem path to write files to -e, --environment string build environment - --format string preferred file format (toml, yaml or json) (default "toml") --ignoreVendorPaths string ignores any _vendor for module paths matching the given Glob pattern --log enable Logging --logFile string log File path (if set, logging enabled automatically) diff --git a/docs/content/en/commands/hugo_mod_vendor.md b/docs/content/en/commands/hugo_mod_vendor.md index 9d9943c8a52..42c04609a75 100644 --- a/docs/content/en/commands/hugo_mod_vendor.md +++ b/docs/content/en/commands/hugo_mod_vendor.md @@ -32,7 +32,6 @@ hugo mod vendor [flags] [args] --debug debug output -d, --destination string filesystem path to write files to -e, --environment string build environment - --format string preferred file format (toml, yaml or json) (default "toml") --ignoreVendorPaths string ignores any _vendor for module paths matching the given Glob pattern --log enable Logging --logFile string log File path (if set, logging enabled automatically) diff --git a/docs/content/en/commands/hugo_mod_verify.md b/docs/content/en/commands/hugo_mod_verify.md index dd41f29fd22..9cddcbc25d1 100644 --- a/docs/content/en/commands/hugo_mod_verify.md +++ b/docs/content/en/commands/hugo_mod_verify.md @@ -31,7 +31,6 @@ hugo mod verify [flags] [args] --debug debug output -d, --destination string filesystem path to write files to -e, --environment string build environment - --format string preferred file format (toml, yaml or json) (default "toml") --ignoreVendorPaths string ignores any _vendor for module paths matching the given Glob pattern --log enable Logging --logFile string log File path (if set, logging enabled automatically) diff --git a/docs/content/en/commands/hugo_new_content.md b/docs/content/en/commands/hugo_new_content.md index 5ff63a20bb7..8880f00c47c 100644 --- a/docs/content/en/commands/hugo_new_content.md +++ b/docs/content/en/commands/hugo_new_content.md @@ -27,6 +27,7 @@ hugo new content [path] [flags] ``` --editor string edit new content with this editor, if provided -f, --force overwrite file if it already exists + --format string preferred file format (toml, yaml or json) (default "toml") -h, --help help for content -k, --kind string content type to create ``` diff --git a/docs/content/en/commands/hugo_new_site.md b/docs/content/en/commands/hugo_new_site.md index 96bb51924a2..9409f1e28ad 100644 --- a/docs/content/en/commands/hugo_new_site.md +++ b/docs/content/en/commands/hugo_new_site.md @@ -20,9 +20,8 @@ hugo new site [path] [flags] ### Options ``` - --force init inside non-empty directory - -f, --format string config file format (default "toml") - -h, --help help for site + -f, --force init inside non-empty directory + -h, --help help for site ``` ### Options inherited from parent commands diff --git a/docs/content/en/commands/hugo_version.md b/docs/content/en/commands/hugo_version.md index 35b7201539a..b78237bb738 100644 --- a/docs/content/en/commands/hugo_version.md +++ b/docs/content/en/commands/hugo_version.md @@ -30,7 +30,6 @@ hugo version [flags] [args] --debug debug output -d, --destination string filesystem path to write files to -e, --environment string build environment - --format string preferred file format (toml, yaml or json) (default "toml") --ignoreVendorPaths string ignores any _vendor for module paths matching the given Glob pattern --log enable Logging --logFile string log File path (if set, logging enabled automatically)