Skip to content

Commit

Permalink
Add mkdocs redirects (#28)
Browse files Browse the repository at this point in the history
* add mkdocs-redirects package

* redirect the ecosystem page

---------

Co-authored-by: Sorin Sbarnea <[email protected]>
  • Loading branch information
oraNod and ssbarnea authored Feb 12, 2024
1 parent 6e6d23f commit 0c4f1c9
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 0 deletions.
4 changes: 4 additions & 0 deletions mkdocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,10 @@ plugins:
import:
- url: https://docs.ansible.com/ansible/latest/objects.inv
domains: [py, std]
- redirects:
redirect_maps:
'ecosystem.md': 'https://docs.ansible.com/ecosystem.html'


markdown_extensions:
- admonition
Expand Down
1 change: 1 addition & 0 deletions tests/requirements.in
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
mkdocs
mkdocs-ansible
mkdocs-redirects
3 changes: 3 additions & 0 deletions tests/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,7 @@ mkdocs==1.5.3
# mkdocs-material
# mkdocs-minify-plugin
# mkdocs-monorepo-plugin
# mkdocs-redirects
# mkdocstrings
mkdocs-ansible==0.2.0
# via -r tests/requirements.in
Expand All @@ -96,6 +97,8 @@ mkdocs-minify-plugin==0.7.1
# via mkdocs-ansible
mkdocs-monorepo-plugin==1.0.5
# via mkdocs-ansible
mkdocs-redirects==1.2.1
# via -r tests/requirements.in
mkdocstrings==0.24.0
# via
# mkdocs-ansible
Expand Down

0 comments on commit 0c4f1c9

Please sign in to comment.