File tree 5 files changed +44
-71
lines changed
5 files changed +44
-71
lines changed Original file line number Diff line number Diff line change
1
+ name : Docs
2
+ on :
3
+ # Manual run
4
+ workflow_dispatch :
5
+ permissions :
6
+ contents : write
7
+ jobs :
8
+ docs :
9
+ runs-on : windows-latest
10
+ steps :
11
+ - uses : actions/checkout@v3
12
+ - uses : actions/setup-python@v3
13
+ - name : Install dependencies
14
+ run : |
15
+ pip install sphinx sphinx_rtd_theme
16
+ pip install --exists-action=w --no-cache-dir -r docs/requirements.txt
17
+ pip install --exists-action=w --no-cache-dir -r docs/rtd-requirements.txt
18
+ - name : Sphinx build
19
+ run : |
20
+ sphinx-build docs/source _build
21
+ dir
22
+ - name : Deploy
23
+ uses : peaceiris/actions-gh-pages@v3
24
+ # if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/main' }}
25
+ with :
26
+ publish_branch : gh-pages
27
+ github_token : ${{ secrets.GITHUB_TOKEN }}
28
+ publish_dir : _build/
29
+ force_orphan : true
Original file line number Diff line number Diff line change 6
6
* .res
7
7
* .rc
8
8
\_ _pycache__
9
- \_ _history
9
+ \_ _history
10
+ _build /
Original file line number Diff line number Diff line change
1
+ # .readthedocs.yml
2
+ # Read the Docs configuration file
3
+ # See https://docs.readthedocs.io/en/stable/config-file/v2.html for details
4
+
5
+ # Required
6
+ version : 2
7
+
8
+ # Build documentation in the docs/ directory with Sphinx
9
+ sphinx :
10
+ configuration : docs/source/conf.py
11
+
12
+ # Optionally build your docs in additional formats such as PDF and ePub
13
+ formats : all
Load Diff This file was deleted.
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments