Skip to content

Commit 4db6847

Browse files
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 <[email protected]>
1 parent 11abefd commit 4db6847

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

mkdocs.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -89,6 +89,7 @@ plugins:
8989
- literate-nav:
9090
nav_file: SUMMARY.md
9191
- mike:
92+
alias_type: redirect
9293
canonical_version: latest
9394
- mkdocstrings:
9495
custom_templates: templates

0 commit comments

Comments
 (0)