We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ef6a08a commit 1ada2c2Copy full SHA for 1ada2c2
2 files changed
.github/workflows/gh-pages.yml
@@ -0,0 +1,36 @@
1
+name: Build and Publish Docs
2
+
3
+on:
4
+ push:
5
+ branches: [ main ]
6
7
+jobs:
8
+ deploy:
9
+ runs-on: ubuntu-latest
10
+ steps:
11
+ - uses: actions/checkout@v3
12
13
+ - uses: actions/setup-python@v4
14
+ with:
15
+ python-version: '3.10'
16
17
+ - name: Install docs dependencies
18
+ run: |
19
+ python -m pip install --upgrade pip
20
+ pip install \
21
+ sphinx \
22
+ sphinx-rtd-theme \
23
+ gin-config \
24
+ sphinx-autodoc-typehints
25
26
+ - name: Build Sphinx HTML
27
28
+ cd docs
29
+ make clean html
30
31
+ - name: Deploy to GitHub Pages
32
+ uses: peaceiris/actions-gh-pages@v3
33
34
+ github_token: ${{ secrets.GITHUB_TOKEN }}
35
+ publish_branch: gh-pages
36
+ publish_dir: docs/build/html
.github/workflows/jekyll-gh-pages.yml
0 commit comments