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 ab5c1e0Copy full SHA for ab5c1e0
.github/workflows/docs.yml
@@ -0,0 +1,28 @@
1
+name: Build docs
2
+
3
+on:
4
+ push:
5
+ pull_request:
6
7
+jobs:
8
+ build:
9
+ runs-on: ubuntu-latest
10
11
+ steps:
12
+ - uses: actions/checkout@v3
13
14
+ - uses: actions/setup-python@v4
15
+ with:
16
+ python-version: '3.8'
17
18
+ - name: Build
19
+ run: |
20
+ pip install -U -r docs/requirements.txt
21
+ sphinx-build docs dist/site -b dirhtml -a
22
23
+ - name: Publish
24
+ if: ${{ github.event_name == 'push' && github.ref_name == "master" }}
25
+ uses: peaceiris/actions-gh-pages@v3
26
27
+ github_token: ${{ secrets.GITHUB_TOKEN }}
28
+ publish_dir: dist/site
docs/requirements.txt
@@ -0,0 +1,2 @@
+sphinx
+furo
0 commit comments