This commit is contained in:
Wcowin 2024-04-02 01:02:19 +08:00
parent b1c6fb6258
commit 97353cd473
2 changed files with 12 additions and 0 deletions

View File

@ -11,6 +11,8 @@ jobs:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: actions/checkout@v4 - uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: actions/setup-python@v4 - uses: actions/setup-python@v4
with: with:
python-version: 3.x python-version: 3.x
@ -23,7 +25,13 @@ jobs:
mkdocs-material- mkdocs-material-
- run: pip install mkdocs-git-revision-date-localized-plugin - run: pip install mkdocs-git-revision-date-localized-plugin
- run: pip install mkdocs-git-authors-plugin - run: pip install mkdocs-git-authors-plugin
- run: pip install mkdocs-git-committers-plugin-2
- run: pip install mkdocs-rss-plugin
- run: pip install jieba
# - run: pip install "mkdocs-material[imaging]"
# - run: pip install mkdocs-statistics-plugin
# - run: pip install mkdocs-rss-plugin # - run: pip install mkdocs-rss-plugin
- run: pip install mkdocs-material - run: pip install mkdocs-material
- run: pip install --upgrade --force-reinstall mkdocs-material
- run: mkdocs gh-deploy --force - run: mkdocs gh-deploy --force

View File

@ -149,6 +149,10 @@ extra:
plugins: plugins:
- search #搜索配置 - search #搜索配置
- git-committers:
enabled: !ENV [CI, false]
repository: Wcowin/Mkdocs-Wcowin
branch: main
- git-revision-date-localized: - git-revision-date-localized:
type: iso_date type: iso_date
enable_creation_date: false enable_creation_date: false