From 435b91c5099cfcf0fc4148b93e75ec9cc1a20b5c Mon Sep 17 00:00:00 2001 From: Anatoli Babenia Date: Mon, 13 Jan 2025 20:31:33 +0300 Subject: [PATCH] Rename "Bash Completions" to "Shell Completions" (#2044) See https://github.com/urfave/cli/pull/2022#discussion_r1864558811 --- .../examples/{bash-completions.md => shell-completions.md} | 0 mkdocs-reqs.txt | 1 + mkdocs.yml | 7 ++++++- 3 files changed, 7 insertions(+), 1 deletion(-) rename docs/v3/examples/{bash-completions.md => shell-completions.md} (100%) diff --git a/docs/v3/examples/bash-completions.md b/docs/v3/examples/shell-completions.md similarity index 100% rename from docs/v3/examples/bash-completions.md rename to docs/v3/examples/shell-completions.md diff --git a/mkdocs-reqs.txt b/mkdocs-reqs.txt index 47d83532f0..365d864c7d 100644 --- a/mkdocs-reqs.txt +++ b/mkdocs-reqs.txt @@ -1,4 +1,5 @@ mkdocs-git-revision-date-localized-plugin~=1.2 mkdocs-material~=9.5 mkdocs~=1.6 +mkdocs-redirects~=1.2 pygments~=2.18 diff --git a/mkdocs.yml b/mkdocs.yml index 105d36e008..14c688895e 100644 --- a/mkdocs.yml +++ b/mkdocs.yml @@ -28,7 +28,7 @@ nav: - Subcommands Categories: v3/examples/subcommands-categories.md - Exit Codes: v3/examples/exit-codes.md - Combining Short Options: v3/examples/combining-short-options.md - - Bash Completions: v3/examples/bash-completions.md + - Shell Completions: v3/examples/shell-completions.md - Generated Help Text: v3/examples/generated-help-text.md - Version Flag: v3/examples/version-flag.md - Timestamp Flag: v3/examples/timestamp-flag.md @@ -87,10 +87,15 @@ theme: - navigation.sections - navigation.tabs - navigation.tabs.sticky + plugins: - git-revision-date-localized - search + - redirects: + redirect_maps: + 'v3/examples/bash-completions.md': 'v3/examples/shell-completions.md' - tags + # NOTE: this is the recommended configuration from # https://squidfunk.github.io/mkdocs-material/setup/extensions/#recommended-configuration markdown_extensions: