Merge pull request #333 from haiwen/support_version_control
Some checks are pending
Deploy CI / deploy (push) Waiting to run

feat: support_version_control
This commit is contained in:
Daniel Pan 2024-10-11 15:38:21 +08:00 committed by GitHub
commit acad3f78ef
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 9 additions and 2 deletions

View File

@ -10,9 +10,13 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
fetch-depth: 0
- uses: actions/setup-python@v2
with:
python-version: 3.x
- run: pip install mkdocs-material mkdocs-awesome-pages-plugin mkdocs-material-extensions
- run: pip install mkdocs-material mkdocs-awesome-pages-plugin mkdocs-material-extensions mike
- run: cd $GITHUB_WORKSPACE
- run: mkdocs gh-deploy --force
- run: git config user.name ci-bot
- run: git config user.email ci-bot@seafile.com
- run: mike deploy --push -u 11.0 latest

View File

@ -20,12 +20,15 @@ theme:
plugins:
- search
- awesome-pages
- mike
# Customization
extra:
social:
- icon: fontawesome/brands/github
link: https://github.com/haiwen/seafile-admin-docs/
version:
provider: mike
extra_css:
- stylesheets/extra.css