Update doc.yml (#68)

This commit is contained in:
Binbin Zhang 2022-04-14 16:06:02 +08:00 committed by GitHub
parent 015748b94e
commit 663a31d9ea
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,8 +1,5 @@
name: "Check and Publish Docs" name: "Check and Publish Docs"
on: on:
push:
branches:
- main
pull_request: pull_request:
jobs: jobs:
@ -15,7 +12,7 @@ jobs:
- uses: ammaraskar/sphinx-action@master - uses: ammaraskar/sphinx-action@master
with: with:
docs-folder: "docs/" docs-folder: "docs/"
pre-build-command: "pip install sphinx-markdown-tables nbsphinx recommonmark sphinx_rtd_theme" pre-build-command: "pip install sphinx-markdown-tables nbsphinx jinja2 recommonmark sphinx_rtd_theme"
# add .nojekyll to notice Pages use the _* dirs # add .nojekyll to notice Pages use the _* dirs