mirror of
https://github.com/Wcowin/Mkdocs-Wcowin.git
synced 2025-07-20 08:56:35 +00:00
必要的依赖配置
This commit is contained in:
parent
e5afb27d5c
commit
d250f96db5
@ -1 +1,5 @@
|
||||
<<<<<<< Updated upstream
|
||||
{"cache_date": "2024-04-11", "page_authors": {}}
|
||||
=======
|
||||
{"cache_date": "2024-04-12", "page_authors": {}}
|
||||
>>>>>>> Stashed changes
|
||||
|
1
.github/workflows/ci.yml
vendored
1
.github/workflows/ci.yml
vendored
@ -28,6 +28,7 @@ jobs:
|
||||
- run: pip install mkdocs-git-committers-plugin-2
|
||||
- run: pip install mkdocs-rss-plugin
|
||||
- run: pip install jieba
|
||||
- run: pip install mkdocs-markdownextradata-plugin
|
||||
# - run: pip install "mkdocs-material[imaging]"
|
||||
# - run: pip install mkdocs-statistics-plugin
|
||||
# - run: pip install mkdocs-rss-plugin
|
||||
|
@ -6,6 +6,10 @@ categories:
|
||||
- 网站更新记录
|
||||
readtime: 2
|
||||
---
|
||||
## </p><h1 id="01" name="01"><strong>2024-04-06</strong></h1><p>
|
||||
* 优化网站流畅度(玄学)
|
||||
* 感谢W1ndys提出的[使用软编码配置友链界面](https://github.com/Wcowin/Mkdocs-Wcowin/pull/9),使得友链添加更加规范化
|
||||
|
||||
## </p><h1 id="01" name="01"><strong>2024-04-02</strong></h1><p>
|
||||
* 优化网站流畅度(玄学)
|
||||
* 在mkdocs.yml的plugins模块中引入`!ENV [CI, false]`语句,极大缩短`mkdocs serve`静态预览时间(3-5s)
|
||||
|
@ -149,6 +149,7 @@ extra:
|
||||
|
||||
plugins:
|
||||
- search #搜索配置
|
||||
- markdownextradata: {}
|
||||
- git-committers:
|
||||
enabled: !ENV [CI, false]
|
||||
repository: Wcowin/Mkdocs-Wcowin
|
||||
@ -186,6 +187,11 @@ plugins:
|
||||
- tags:
|
||||
tags_file: tag.md #分类标签
|
||||
|
||||
# 外部引用插件,一个 MkDocs 插件,它将 mkdocs.yml 额外变量注入到 markdown 模板中
|
||||
# https://github.com/rosscdh/mkdocs-markdownextradata-plugin
|
||||
- markdownextradata:
|
||||
data: ./docs/_data/ # 额外数据文件
|
||||
|
||||
|
||||
|
||||
markdown_extensions: #详见https://squidfunk.github.io/mkdocs-material/setup/extensions/python-markdown-extensions/ 和 https://squidfunk.github.io/mkdocs-material/setup/extensions/python-markdown/
|
||||
|
Loading…
x
Reference in New Issue
Block a user