From 20ea2e0c65f6bd5b886bfc4370df22f42e5fd141 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B8rn=20Erik=20Pedersen?= Date: Sun, 28 May 2023 13:07:47 +0200 Subject: [PATCH] docs: Regenerate CLI docs --- docs/content/en/commands/hugo_config.md | 8 ++++++-- docs/content/en/commands/hugo_config_mounts.md | 6 +++++- docs/content/en/commands/hugo_mod_clean.md | 10 +++++++--- docs/content/en/commands/hugo_mod_graph.md | 8 ++++++-- docs/content/en/commands/hugo_mod_init.md | 6 +++++- docs/content/en/commands/hugo_mod_npm_pack.md | 6 +++++- docs/content/en/commands/hugo_mod_tidy.md | 6 +++++- docs/content/en/commands/hugo_mod_vendor.md | 6 +++++- docs/content/en/commands/hugo_mod_verify.md | 8 ++++++-- docs/content/en/commands/hugo_new_content.md | 14 +++++++++----- 10 files changed, 59 insertions(+), 19 deletions(-) diff --git a/docs/content/en/commands/hugo_config.md b/docs/content/en/commands/hugo_config.md index 447c97c96..1dbf4c0de 100644 --- a/docs/content/en/commands/hugo_config.md +++ b/docs/content/en/commands/hugo_config.md @@ -18,8 +18,12 @@ hugo config [command] [flags] ### Options ``` - --format string preferred file format (toml, yaml or json) (default "toml") - -h, --help help for config + -b, --baseURL string hostname (and path) to the root, e.g. https://spf13.com/ + --cacheDir string filesystem path to cache directory. Defaults: $TMPDIR/hugo_cache/ + -c, --contentDir string filesystem path to content directory + --format string preferred file format (toml, yaml or json) (default "toml") + -h, --help help for config + -t, --theme strings themes to use (located in /themes/THEMENAME/) ``` ### 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 9ec0a5e7f..e4c4cf8c5 100644 --- a/docs/content/en/commands/hugo_config_mounts.md +++ b/docs/content/en/commands/hugo_config_mounts.md @@ -14,7 +14,11 @@ hugo config mounts [flags] [args] ### Options ``` - -h, --help help for mounts + -b, --baseURL string hostname (and path) to the root, e.g. https://spf13.com/ + --cacheDir string filesystem path to cache directory. Defaults: $TMPDIR/hugo_cache/ + -c, --contentDir string filesystem path to content directory + -h, --help help for mounts + -t, --theme strings themes to use (located in /themes/THEMENAME/) ``` ### Options inherited from parent commands diff --git a/docs/content/en/commands/hugo_mod_clean.md b/docs/content/en/commands/hugo_mod_clean.md index ad97610cd..7878fe178 100644 --- a/docs/content/en/commands/hugo_mod_clean.md +++ b/docs/content/en/commands/hugo_mod_clean.md @@ -18,9 +18,13 @@ hugo mod clean [flags] [args] ### Options ``` - --all clean entire module cache - -h, --help help for clean - --pattern string pattern matching module paths to clean (all if not set), e.g. "**hugo*" + --all clean entire module cache + -b, --baseURL string hostname (and path) to the root, e.g. https://spf13.com/ + --cacheDir string filesystem path to cache directory. Defaults: $TMPDIR/hugo_cache/ + -c, --contentDir string filesystem path to content directory + -h, --help help for clean + --pattern string pattern matching module paths to clean (all if not set), e.g. "**hugo*" + -t, --theme strings themes to use (located in /themes/THEMENAME/) ``` ### Options inherited from parent commands diff --git a/docs/content/en/commands/hugo_mod_graph.md b/docs/content/en/commands/hugo_mod_graph.md index 79ff3170f..fa1d66602 100644 --- a/docs/content/en/commands/hugo_mod_graph.md +++ b/docs/content/en/commands/hugo_mod_graph.md @@ -20,8 +20,12 @@ hugo mod graph [flags] [args] ### Options ``` - --clean delete module cache for dependencies that fail verification - -h, --help help for graph + -b, --baseURL string hostname (and path) to the root, e.g. https://spf13.com/ + --cacheDir string filesystem path to cache directory. Defaults: $TMPDIR/hugo_cache/ + --clean delete module cache for dependencies that fail verification + -c, --contentDir string filesystem path to content directory + -h, --help help for graph + -t, --theme strings themes to use (located in /themes/THEMENAME/) ``` ### Options inherited from parent commands diff --git a/docs/content/en/commands/hugo_mod_init.md b/docs/content/en/commands/hugo_mod_init.md index ad4501b64..af1575b73 100644 --- a/docs/content/en/commands/hugo_mod_init.md +++ b/docs/content/en/commands/hugo_mod_init.md @@ -25,7 +25,11 @@ hugo mod init [flags] [args] ### Options ``` - -h, --help help for init + -b, --baseURL string hostname (and path) to the root, e.g. https://spf13.com/ + --cacheDir string filesystem path to cache directory. Defaults: $TMPDIR/hugo_cache/ + -c, --contentDir string filesystem path to content directory + -h, --help help for init + -t, --theme strings themes to use (located in /themes/THEMENAME/) ``` ### Options inherited from parent commands diff --git a/docs/content/en/commands/hugo_mod_npm_pack.md b/docs/content/en/commands/hugo_mod_npm_pack.md index aadac772b..623649909 100644 --- a/docs/content/en/commands/hugo_mod_npm_pack.md +++ b/docs/content/en/commands/hugo_mod_npm_pack.md @@ -28,7 +28,11 @@ hugo mod npm pack [flags] [args] ### Options ``` - -h, --help help for pack + -b, --baseURL string hostname (and path) to the root, e.g. https://spf13.com/ + --cacheDir string filesystem path to cache directory. Defaults: $TMPDIR/hugo_cache/ + -c, --contentDir string filesystem path to content directory + -h, --help help for pack + -t, --theme strings themes to use (located in /themes/THEMENAME/) ``` ### Options inherited from parent commands diff --git a/docs/content/en/commands/hugo_mod_tidy.md b/docs/content/en/commands/hugo_mod_tidy.md index 9c665f1c5..31558a55b 100644 --- a/docs/content/en/commands/hugo_mod_tidy.md +++ b/docs/content/en/commands/hugo_mod_tidy.md @@ -14,7 +14,11 @@ hugo mod tidy [flags] [args] ### Options ``` - -h, --help help for tidy + -b, --baseURL string hostname (and path) to the root, e.g. https://spf13.com/ + --cacheDir string filesystem path to cache directory. Defaults: $TMPDIR/hugo_cache/ + -c, --contentDir string filesystem path to content directory + -h, --help help for tidy + -t, --theme strings themes to use (located in /themes/THEMENAME/) ``` ### Options inherited from parent commands diff --git a/docs/content/en/commands/hugo_mod_vendor.md b/docs/content/en/commands/hugo_mod_vendor.md index 42c04609a..42d19b36e 100644 --- a/docs/content/en/commands/hugo_mod_vendor.md +++ b/docs/content/en/commands/hugo_mod_vendor.md @@ -20,7 +20,11 @@ hugo mod vendor [flags] [args] ### Options ``` - -h, --help help for vendor + -b, --baseURL string hostname (and path) to the root, e.g. https://spf13.com/ + --cacheDir string filesystem path to cache directory. Defaults: $TMPDIR/hugo_cache/ + -c, --contentDir string filesystem path to content directory + -h, --help help for vendor + -t, --theme strings themes to use (located in /themes/THEMENAME/) ``` ### Options inherited from parent commands diff --git a/docs/content/en/commands/hugo_mod_verify.md b/docs/content/en/commands/hugo_mod_verify.md index 9cddcbc25..861ef5752 100644 --- a/docs/content/en/commands/hugo_mod_verify.md +++ b/docs/content/en/commands/hugo_mod_verify.md @@ -18,8 +18,12 @@ hugo mod verify [flags] [args] ### Options ``` - --clean delete module cache for dependencies that fail verification - -h, --help help for verify + -b, --baseURL string hostname (and path) to the root, e.g. https://spf13.com/ + --cacheDir string filesystem path to cache directory. Defaults: $TMPDIR/hugo_cache/ + --clean delete module cache for dependencies that fail verification + -c, --contentDir string filesystem path to content directory + -h, --help help for verify + -t, --theme strings themes to use (located in /themes/THEMENAME/) ``` ### Options inherited from parent commands diff --git a/docs/content/en/commands/hugo_new_content.md b/docs/content/en/commands/hugo_new_content.md index 8880f00c4..fdacc6596 100644 --- a/docs/content/en/commands/hugo_new_content.md +++ b/docs/content/en/commands/hugo_new_content.md @@ -25,11 +25,15 @@ hugo new content [path] [flags] ### Options ``` - --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 + -b, --baseURL string hostname (and path) to the root, e.g. https://spf13.com/ + --cacheDir string filesystem path to cache directory. Defaults: $TMPDIR/hugo_cache/ + -c, --contentDir string filesystem path to content directory + --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 + -t, --theme strings themes to use (located in /themes/THEMENAME/) ``` ### Options inherited from parent commands