Skip to content

Commit

Permalink
✨ Add mkdocs-redirects plugin
Browse files Browse the repository at this point in the history
  • Loading branch information
arv-anshul committed May 27, 2024
1 parent ed42035 commit 14eba85
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 0 deletions.
9 changes: 9 additions & 0 deletions mkdocs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,15 @@ plugins:
- search: null
- markdownextradata:
data: docs/data/render_yaml/
- redirects:
redirect_maps:
campusx-dsmp.md: https://arv-anshul.github.io/campusx
gh.md: https://github.com/arv-anshul
github.md: https://github.com/arv-anshul
linkedin.md: https://linkedin.com/in/arv-anshul
notebooks.md: https://github.com/arv-anshul/notebooks
project/yt-watch-history-v2/index.md: project/yt-watch-history/index.md
projects/index.md: project/index.md

extra:
analytics:
Expand Down
1 change: 1 addition & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ requires-python = ">= 3.11"
dependencies = [
"mkdocs-markdownextradata-plugin==0.2.5",
"mkdocs-material==9.5.24",
"mkdocs-redirects==1.2.1",
]

[tool.rye]
Expand Down
2 changes: 2 additions & 0 deletions requirements-dev.lock
Original file line number Diff line number Diff line change
Expand Up @@ -38,12 +38,14 @@ mergedeep==1.3.4
mkdocs==1.6.0
# via mkdocs-markdownextradata-plugin
# via mkdocs-material
# via mkdocs-redirects
mkdocs-get-deps==0.2.0
# via mkdocs
mkdocs-markdownextradata-plugin==0.2.5
mkdocs-material==9.5.24
mkdocs-material-extensions==1.3.1
# via mkdocs-material
mkdocs-redirects==1.2.1
packaging==24.0
# via mkdocs
paginate==0.5.6
Expand Down
2 changes: 2 additions & 0 deletions requirements.lock
Original file line number Diff line number Diff line change
Expand Up @@ -38,12 +38,14 @@ mergedeep==1.3.4
mkdocs==1.6.0
# via mkdocs-markdownextradata-plugin
# via mkdocs-material
# via mkdocs-redirects
mkdocs-get-deps==0.2.0
# via mkdocs
mkdocs-markdownextradata-plugin==0.2.5
mkdocs-material==9.5.24
mkdocs-material-extensions==1.3.1
# via mkdocs-material
mkdocs-redirects==1.2.1
packaging==24.0
# via mkdocs
paginate==0.5.6
Expand Down

0 comments on commit 14eba85

Please sign in to comment.