From 3a0231588c7514b3ad7e187761614ac4c6dd7adb Mon Sep 17 00:00:00 2001 From: smvgarcia Date: Thu, 19 Sep 2024 12:33:11 -0500 Subject: [PATCH 1/2] add redirects plugin to allow redirecting old doc page links --- mkdocs.yaml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/mkdocs.yaml b/mkdocs.yaml index 2238bb4..cebaabb 100644 --- a/mkdocs.yaml +++ b/mkdocs.yaml @@ -72,6 +72,9 @@ markdown_extensions: - pymdownx.details plugins: - search + - redirects: + redirect_maps: + 'vlmd_submission.md': 'vlmd/index.md' - mkdocs-video: is_video: True From 71fd1916e40e6affae132cecaa9f55f69ca7245b Mon Sep 17 00:00:00 2001 From: smvgarcia <111767892+smvgarcia@users.noreply.github.com> Date: Thu, 19 Sep 2024 12:41:43 -0500 Subject: [PATCH 2/2] Update requirements.txt add mkdocs-redirects to requirements --- requirements.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/requirements.txt b/requirements.txt index 9834c07..ca0c339 100644 --- a/requirements.txt +++ b/requirements.txt @@ -12,6 +12,7 @@ mergedeep==1.3.4 mkdocs==1.3.1 mkdocs-material==8.5.3 mkdocs-material-extensions==1.0.3 +mkdocs-redirects mkdocs-video==1.3.0 packaging==21.3 Pygments==2.13.0