We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 551989c commit 35f5f60Copy full SHA for 35f5f60
.github/workflows/docs.yml
@@ -0,0 +1,30 @@
1
+name: Build docs
2
+
3
+on:
4
+ push:
5
+ branches:
6
+ - master
7
+ pull_request:
8
9
+jobs:
10
+ build:
11
+ runs-on: ubuntu-latest
12
13
+ steps:
14
+ - uses: actions/checkout@v3
15
16
+ - uses: actions/setup-python@v4
17
+ with:
18
+ python-version: '3.8'
19
20
+ - name: Build
21
+ run: |
22
+ pip install -U -r docs/requirements.txt
23
+ sphinx-build docs dist/site -b dirhtml -a
24
25
+ - name: Publish
26
+ if: ${{ github.event_name == "push" }}
27
+ uses: peaceiris/actions-gh-pages@v3
28
29
+ github_token: ${{ secrets.GITHUB_TOKEN }}
30
+ publish_dir: dist/site
docs/requirements.txt
@@ -0,0 +1,2 @@
+sphinx
+furo
0 commit comments