File tree Expand file tree Collapse file tree 2 files changed +36
-0
lines changed Expand file tree Collapse file tree 2 files changed +36
-0
lines changed Original file line number Diff line number Diff line change
1
+ name : " Sphinx: Render docs"
2
+
3
+ on :
4
+ push :
5
+ branches :
6
+ - main
7
+ - docs
8
+
9
+ jobs :
10
+ build :
11
+ runs-on : ubuntu-latest
12
+ permissions :
13
+ contents : write
14
+ steps :
15
+ - uses : actions/checkout@v4
16
+ - name : Build HTML
17
+ uses : ammaraskar/sphinx-action@master
18
+ - name : Upload artifacts
19
+ uses : actions/upload-artifact@v4
20
+ with :
21
+ name : html-docs
22
+ path : docs/build/html/
23
+ - name : Deploy
24
+ uses : peaceiris/actions-gh-pages@v3
25
+ if : github.ref == 'refs/heads/main'
26
+ with :
27
+ github_token : ${{ secrets.GITHUB_TOKEN }}
28
+ publish_dir : docs/build/html
Original file line number Diff line number Diff line change
1
+ sphinx >= 8.1.3
2
+ sphinx_gallery >= 0.18.0
3
+ sphinx-copybutton >= 0.5.2
4
+ pydata-sphinx-theme >= 0.15.3
5
+ sphinxcontrib-email >= 0.3.6
6
+ sphinx-remove-toctrees >= 1.0.0
7
+ sphinx-prompt >= 1.9.0
8
+ sphinx_design >= 0.6.1
You can’t perform that action at this time.
0 commit comments