From 14eba85a7ec6c4faf8ed8ed847d1dfc3e46ba1da Mon Sep 17 00:00:00 2001 From: Anshul Raj Verma <111767754+arv-anshul@users.noreply.github.com> Date: Mon, 27 May 2024 17:29:42 +0530 Subject: [PATCH] =?UTF-8?q?=E2=9C=A8=20Add=20mkdocs-redirects=20plugin?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- mkdocs.yaml | 9 +++++++++ pyproject.toml | 1 + requirements-dev.lock | 2 ++ requirements.lock | 2 ++ 4 files changed, 14 insertions(+) diff --git a/mkdocs.yaml b/mkdocs.yaml index ee96126..1ba3960 100644 --- a/mkdocs.yaml +++ b/mkdocs.yaml @@ -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: diff --git a/pyproject.toml b/pyproject.toml index 00f2280..d5e7d09 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -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] diff --git a/requirements-dev.lock b/requirements-dev.lock index e1bce31..e393f47 100644 --- a/requirements-dev.lock +++ b/requirements-dev.lock @@ -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 diff --git a/requirements.lock b/requirements.lock index 2fb7ae7..8228424 100644 --- a/requirements.lock +++ b/requirements.lock @@ -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