Skip to content

Commit 435b91c

Browse files
authored
Rename "Bash Completions" to "Shell Completions" (#2044)
See #2022 (comment)
1 parent 7fc43e7 commit 435b91c

File tree

3 files changed

+7
-1
lines changed

3 files changed

+7
-1
lines changed

mkdocs-reqs.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
mkdocs-git-revision-date-localized-plugin~=1.2
22
mkdocs-material~=9.5
33
mkdocs~=1.6
4+
mkdocs-redirects~=1.2
45
pygments~=2.18

mkdocs.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ nav:
2828
- Subcommands Categories: v3/examples/subcommands-categories.md
2929
- Exit Codes: v3/examples/exit-codes.md
3030
- Combining Short Options: v3/examples/combining-short-options.md
31-
- Bash Completions: v3/examples/bash-completions.md
31+
- Shell Completions: v3/examples/shell-completions.md
3232
- Generated Help Text: v3/examples/generated-help-text.md
3333
- Version Flag: v3/examples/version-flag.md
3434
- Timestamp Flag: v3/examples/timestamp-flag.md
@@ -87,10 +87,15 @@ theme:
8787
- navigation.sections
8888
- navigation.tabs
8989
- navigation.tabs.sticky
90+
9091
plugins:
9192
- git-revision-date-localized
9293
- search
94+
- redirects:
95+
redirect_maps:
96+
'v3/examples/bash-completions.md': 'v3/examples/shell-completions.md'
9397
- tags
98+
9499
# NOTE: this is the recommended configuration from
95100
# https://squidfunk.github.io/mkdocs-material/setup/extensions/#recommended-configuration
96101
markdown_extensions:

0 commit comments

Comments
 (0)