From 38e5740cd2454665c447be4512453160f689354b Mon Sep 17 00:00:00 2001 From: Corentin Vannier Date: Tue, 27 Feb 2024 14:32:49 +0100 Subject: [PATCH] fix(docs): Add redirect for index page --- mkdocs.yml | 3 +++ pyproject.toml | 1 + 2 files changed, 4 insertions(+) diff --git a/mkdocs.yml b/mkdocs.yml index 21cca53..9b49f3d 100644 --- a/mkdocs.yml +++ b/mkdocs.yml @@ -55,6 +55,9 @@ plugins: - docs/gen_ref_pages.py - literate-nav: nav_file: SUMMARY.md + - redirects: + redirect_maps: + "index.md": "getting_started/index.md" - mkdocstrings: enable_inventory: true handlers: diff --git a/pyproject.toml b/pyproject.toml index 7bca2dc..53f889e 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -49,6 +49,7 @@ documentation = [ "mkdocstrings-python ~= 1.7.0", "mkdocs-gen-files ~= 0.5.0", "mkdocs-literate-nav ~= 0.6.0", + "mkdocs-redirects ~= 1.2.1", ] [project.urls]