We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b14e7f7 commit 4cbd29fCopy full SHA for 4cbd29f
2 files changed
.github/workflows/docs.yml
@@ -0,0 +1,29 @@
1
+name: Documentation
2
+
3
+on: [push, pull_request]
4
5
+jobs:
6
+ build:
7
+ runs-on: ubuntu-latest
8
+ steps:
9
+ - uses: actions/checkout@v1
10
+ - uses: ammaraskar/sphinx-action@master
11
+ with:
12
+ docs-folder: doc/
13
+ - name: Upload artifact
14
+ # Automatically uploads an artifact from the './_site' directory by default
15
+ uses: actions/upload-pages-artifact@v1
16
17
+ path: doc/_build/html/
18
19
+ deploy:
20
+ if: github.ref == 'refs/heads/master'
21
22
+ environment:
23
+ name: github-pages
24
+ url: ${{ steps.deployment.outputs.page_url }}
25
+ needs: build
26
27
+ - name: Deploy to GitHub Pages
28
+ id: deployment
29
+ uses: actions/deploy-pages@v1
doc/requirements.txt
@@ -0,0 +1 @@
+sphinx_rtd_theme
0 commit comments