-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
update sphinx to modern stable version added publishing docs from pr to gh pages
- Loading branch information
Andrey Kolkov
committed
Apr 27, 2021
1 parent
b03119d
commit 6fc2240
Showing
2 changed files
with
19 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
name: "Sphinx Docs Check" | ||
on: | ||
- pull_request | ||
|
||
jobs: | ||
docs: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v1 | ||
- uses: ammaraskar/sphinx-action@master | ||
with: | ||
docs-folder: "./" | ||
- name: Deploy | ||
uses: peaceiris/actions-gh-pages@v3 | ||
with: | ||
github_token: ${{ secrets.GITHUB_TOKEN }} | ||
publish_dir: build/html/ | ||
commit_message: "branch: ${{ github.head_ref }}" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
Pillow | ||
Sphinx==1.8.5 | ||
Sphinx==3.5.4 | ||
sphinx-rtd-theme | ||
sphinxcontrib-httpdomain | ||
sphinxcontrib-images | ||
|