mirror of
https://github.com/Sitoi/dailycheckin.git
synced 2024-11-17 13:48:03 +08:00
修改文档
This commit is contained in:
parent
3c9e802ff1
commit
e0bbb57bca
18
.github/workflows/docs.yml
vendored
Normal file
18
.github/workflows/docs.yml
vendored
Normal 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
|
11
mkdocs.yml
11
mkdocs.yml
@ -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
|
Loading…
Reference in New Issue
Block a user