Skip to content

Commit ca5017e

Browse files
author
shenweiyan
committed
增加 glightbox 插件
增加 glightbox 插件
1 parent e24954f commit ca5017e

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

.github/workflows/mkdocs.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ jobs:
2727
mkdocs-material-
2828
- run: sudo apt-get install pngquant
2929
- run: pip install mkdocs-material
30-
- run: pip install stepslist mkdocs-awesome-nav
30+
- run: pip install stepslist mkdocs-awesome-nav mkdocs-glightbox
3131
- run: mkdocs gh-deploy --force
3232
env:
3333
GH_TOKEN: ${{ secrets.GH_TOKEN }}

mkdocs.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,9 @@ plugins:
8888
separator: '[\s\u200b\-_,:!=\[\]()"`/]+|\.(?!\d)|&[lg]t;|(?!\b)(?=[A-Z][a-z])'
8989
- tags
9090
- awesome-nav
91+
- glightbox:
92+
auto_caption: false
93+
caption_position: bottom
9194

9295
# INSIDERS=1 mkdocs build
9396
- group:

0 commit comments

Comments
 (0)