From e7c14d60905e7c7545a129e4e2dc3bb0bd9db682 Mon Sep 17 00:00:00 2001 From: Tiyash Basu Date: Mon, 6 Nov 2023 17:56:58 +0100 Subject: [PATCH] Add support for mike 2.0.0 The default setting in this version utilizes symbolic links for aliases, which aren't compatible with GitHub Pages. Therefore, we must specify the use of redirect aliases. To do this, we set the `alias_type` to redirect within the mike plugin configuration in the `mkdocs.yml` file. Signed-off-by: Tiyash Basu --- mkdocs.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/mkdocs.yml b/mkdocs.yml index 3c3eb6b..ada0ea1 100644 --- a/mkdocs.yml +++ b/mkdocs.yml @@ -89,6 +89,7 @@ plugins: - literate-nav: nav_file: SUMMARY.md - mike: + alias_type: redirect canonical_version: latest - mkdocstrings: custom_templates: templates