Skip to content

Commit 795b304

Browse files
author
birchkwok
committed
Trying to build documentation with mike
1 parent 34b6e5c commit 795b304

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

.github/workflows/doc-ci.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,5 +28,7 @@ jobs:
2828
path: .cache
2929
restore-keys: |
3030
mkdocs-material-
31-
- run: pip install mkdocs-material mkdocstrings-python
32-
- run: mkdocs gh-deploy --force
31+
- run: pip install mkdocs-material mkdocstrings-python mike
32+
- run: |
33+
mike deploy --push --update-aliases 0.1.4 latest
34+
mike set-default --push latest

mkdocs.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,8 @@ theme:
5454
extra:
5555
paths:
5656
- lynse
57+
version:
58+
provider: mike
5759

5860
markdown_extensions:
5961
- toc:

0 commit comments

Comments
 (0)