修改文档

This commit is contained in:
Sitoi 2021-01-07 14:34:33 +08:00
parent 3c9e802ff1
commit e0bbb57bca
2 changed files with 24 additions and 5 deletions

18
.github/workflows/docs.yml vendored Normal file
View File

@ -0,0 +1,18 @@
name: Publish docs via GitHub Pages
on:
push:
branches:
- main
workflow_dispatch:
jobs:
deploy:
name: Deploy docs
runs-on: ubuntu-latest
if: github.event.repository.owner.id == github.event.sender.id
steps:
- uses: actions/checkout@v2
- uses: actions/setup-python@v2
with:
python-version: 3.x
- run: pip install mkdocs-material pymdown-extensions
- run: mkdocs gh-deploy --force

View File

@ -14,8 +14,9 @@ markdown_extensions:
- pymdownx.superfences
nav:
- 主页: index.md
- settings.md
- local.md
- docker.md
- github-actions.md
- tencent-scf.md
- 配置: settings.md
- 教程:
- local.md
- docker.md
- github-actions.md
- tencent-scf.md