From 45eb945f8233ec13c8fc17612052186c4f69722e Mon Sep 17 00:00:00 2001 From: Joe Mooring Date: Sun, 30 Jan 2022 15:33:15 -0800 Subject: [PATCH 1/3] Remove hugo gen autocomplete Closes #8862 --- content/en/commands/hugo.md | 1 - content/en/commands/hugo_gen.md | 1 - content/en/commands/hugo_gen_autocomplete.md | 58 -------------------- 3 files changed, 60 deletions(-) delete mode 100644 content/en/commands/hugo_gen_autocomplete.md diff --git a/content/en/commands/hugo.md b/content/en/commands/hugo.md index 94d933c8a..827bb89e6 100644 --- a/content/en/commands/hugo.md +++ b/content/en/commands/hugo.md @@ -68,7 +68,6 @@ hugo [flags] ### SEE ALSO -* [hugo check](/commands/hugo_check/) - Contains some verification checks * [hugo completion](/commands/hugo_completion/) - generate the autocompletion script for the specified shell * [hugo config](/commands/hugo_config/) - Print the site configuration * [hugo convert](/commands/hugo_convert/) - Convert your content to different formats diff --git a/content/en/commands/hugo_gen.md b/content/en/commands/hugo_gen.md index fc321a9e9..55fb1f2bb 100644 --- a/content/en/commands/hugo_gen.md +++ b/content/en/commands/hugo_gen.md @@ -33,7 +33,6 @@ A collection of several useful generators. ### SEE ALSO * [hugo](/commands/hugo/) - hugo builds your site -* [hugo gen autocomplete](/commands/hugo_gen_autocomplete/) - Generate shell autocompletion script for Hugo * [hugo gen chromastyles](/commands/hugo_gen_chromastyles/) - Generate CSS stylesheet for the Chroma code highlighter * [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 diff --git a/content/en/commands/hugo_gen_autocomplete.md b/content/en/commands/hugo_gen_autocomplete.md deleted file mode 100644 index 77f2fa076..000000000 --- a/content/en/commands/hugo_gen_autocomplete.md +++ /dev/null @@ -1,58 +0,0 @@ ---- -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. - -The script is written to the console (stdout). - -To write to file, add the `--completionfile=/path/to/file` flag. - -Add `--type={bash, zsh, fish or powershell}` flag to set alternative -shell type. - -Logout and in again to reload the completion scripts, -or just source them in directly: - - $ . /etc/bash_completion or /path/to/file - -``` -hugo gen autocomplete [flags] -``` - -### Options - -``` - -f, --completionfile string autocompletion file, defaults to stdout - -h, --help help for autocomplete - -t, --type string autocompletion type (bash, zsh, fish, or powershell) (default "bash") -``` - -### Options inherited from parent commands - -``` - --config string config file (default is path/config.yaml|json|toml) - --configDir string config dir (default "config") - --debug debug output - -e, --environment string build environment - --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) - --quiet build in quiet mode - -s, --source string filesystem path to read files relative from - --themesDir string filesystem path to themes directory - -v, --verbose verbose output - --verboseLog verbose logging -``` - -### SEE ALSO - -* [hugo gen](/commands/hugo_gen/) - A collection of several useful generators. - From 3fce03ed25d8c6408b06f17b4cf112951e90b87b Mon Sep 17 00:00:00 2001 From: Joe Mooring Date: Tue, 1 Feb 2022 15:04:03 -0800 Subject: [PATCH 2/3] Remove the "check" command Closes #9454 --- content/en/commands/hugo_check.md | 37 ------------------- content/en/commands/hugo_check_ulimit.md | 45 ------------------------ 2 files changed, 82 deletions(-) delete mode 100644 content/en/commands/hugo_check.md delete mode 100644 content/en/commands/hugo_check_ulimit.md diff --git a/content/en/commands/hugo_check.md b/content/en/commands/hugo_check.md deleted file mode 100644 index b87f6668a..000000000 --- a/content/en/commands/hugo_check.md +++ /dev/null @@ -1,37 +0,0 @@ ---- -title: "hugo check" -slug: hugo_check -url: /commands/hugo_check/ ---- -## hugo check - -Contains some verification checks - -### Options - -``` - -h, --help help for check -``` - -### Options inherited from parent commands - -``` - --config string config file (default is path/config.yaml|json|toml) - --configDir string config dir (default "config") - --debug debug output - -e, --environment string build environment - --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) - --quiet build in quiet mode - -s, --source string filesystem path to read files relative from - --themesDir string filesystem path to themes directory - -v, --verbose verbose output - --verboseLog verbose logging -``` - -### SEE ALSO - -* [hugo](/commands/hugo/) - hugo builds your site -* [hugo check ulimit](/commands/hugo_check_ulimit/) - Check system ulimit settings - diff --git a/content/en/commands/hugo_check_ulimit.md b/content/en/commands/hugo_check_ulimit.md deleted file mode 100644 index afeda609a..000000000 --- a/content/en/commands/hugo_check_ulimit.md +++ /dev/null @@ -1,45 +0,0 @@ ---- -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 [flags] -``` - -### Options - -``` - -h, --help help for ulimit -``` - -### Options inherited from parent commands - -``` - --config string config file (default is path/config.yaml|json|toml) - --configDir string config dir (default "config") - --debug debug output - -e, --environment string build environment - --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) - --quiet build in quiet mode - -s, --source string filesystem path to read files relative from - --themesDir string filesystem path to themes directory - -v, --verbose verbose output - --verboseLog verbose logging -``` - -### SEE ALSO - -* [hugo check](/commands/hugo_check/) - Contains some verification checks - From ee04caf9fdf8ed962978ed4fbc282c809949ec3d Mon Sep 17 00:00:00 2001 From: Joe Mooring Date: Sat, 29 Jan 2022 18:34:27 -0800 Subject: [PATCH 3/3] Fix validation of Page Kind in cascade target map Fixes #8888 --- content/en/content-management/front-matter.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/content/en/content-management/front-matter.md b/content/en/content-management/front-matter.md index 2155f1992..6986f067f 100644 --- a/content/en/content-management/front-matter.md +++ b/content/en/content-management/front-matter.md @@ -184,7 +184,7 @@ path : A [Glob](https://github.com/gobwas/glob) pattern matching the content path below /content. Expects Unix-styled slashes. Note that this is the virtual path, so it starts at the mount root. The matching support double-asterisks so you can match for patterns like `/blog/*/**` to match anything from the third level and down. kind -: The Page's Kind, e.g. "section". +: A Glob pattern matching the Page's Kind(s), e.g. "{home,section}". lang : A Glob pattern matching the Page's language, e.g. "{en,sv}".