必要的依赖配置

This commit is contained in:
Wcowin 2024-04-12 00:31:09 +08:00
parent e5afb27d5c
commit d250f96db5
4 changed files with 16 additions and 1 deletions

View File

@ -1 +1,5 @@
<<<<<<< Updated upstream
{"cache_date": "2024-04-11", "page_authors": {}} {"cache_date": "2024-04-11", "page_authors": {}}
=======
{"cache_date": "2024-04-12", "page_authors": {}}
>>>>>>> Stashed changes

View File

@ -28,6 +28,7 @@ jobs:
- run: pip install mkdocs-git-committers-plugin-2 - run: pip install mkdocs-git-committers-plugin-2
- run: pip install mkdocs-rss-plugin - run: pip install mkdocs-rss-plugin
- run: pip install jieba - run: pip install jieba
- run: pip install mkdocs-markdownextradata-plugin
# - run: pip install "mkdocs-material[imaging]" # - run: pip install "mkdocs-material[imaging]"
# - run: pip install mkdocs-statistics-plugin # - run: pip install mkdocs-statistics-plugin
# - run: pip install mkdocs-rss-plugin # - run: pip install mkdocs-rss-plugin

View File

@ -6,6 +6,10 @@ categories:
- 网站更新记录 - 网站更新记录
readtime: 2 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> ## </p><h1 id="01" name="01"><strong>2024-04-02</strong></h1><p>
* 优化网站流畅度(玄学) * 优化网站流畅度(玄学)
* 在mkdocs.yml的plugins模块中引入`!ENV [CI, false]`语句,极大缩短`mkdocs serve`静态预览时间3-5s * 在mkdocs.yml的plugins模块中引入`!ENV [CI, false]`语句,极大缩短`mkdocs serve`静态预览时间3-5s

View File

@ -149,6 +149,7 @@ extra:
plugins: plugins:
- search #搜索配置 - search #搜索配置
- markdownextradata: {}
- git-committers: - git-committers:
enabled: !ENV [CI, false] enabled: !ENV [CI, false]
repository: Wcowin/Mkdocs-Wcowin repository: Wcowin/Mkdocs-Wcowin
@ -186,6 +187,11 @@ plugins:
- tags: - tags:
tags_file: tag.md #分类标签 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/ markdown_extensions: #详见https://squidfunk.github.io/mkdocs-material/setup/extensions/python-markdown-extensions/ 和 https://squidfunk.github.io/mkdocs-material/setup/extensions/python-markdown/