File tree Expand file tree Collapse file tree 11 files changed +77
-515
lines changed
Expand file tree Collapse file tree 11 files changed +77
-515
lines changed Original file line number Diff line number Diff line change 1+ name : website
2+
3+ # build the documentation whenever there are new commits on main
4+ on :
5+ push :
6+ branches :
7+ - main
8+ # Alternative: only build for tags.
9+ # tags:
10+ # - '*'
11+
12+ # security: restrict permissions for CI jobs.
13+ permissions :
14+ contents : read
15+
16+ jobs :
17+ # Build the documentation and upload the static HTML files as an artifact.
18+ build :
19+ runs-on : ubuntu-latest
20+ steps :
21+ - uses : actions/checkout@v5
22+ with :
23+ persist-credentials : false
24+ - name : Setup uv
25+ uses : astral-sh/setup-uv@v6
26+ - uses : actions/setup-python@v6
27+ with :
28+ python-version : ' 3.14'
29+ - run : uv run pdoc ./src/obelisk -o docs/
30+ - uses : actions/upload-pages-artifact@v4
31+ with :
32+ path : docs/
33+
34+ # Deploy the artifact to GitHub pages.
35+ # This is a separate job so that only actions/deploy-pages has the necessary permissions.
36+ deploy :
37+ needs : build
38+ runs-on : ubuntu-latest
39+ permissions :
40+ pages : write
41+ id-token : write
42+ environment :
43+ name : github-pages
44+ url : ${{ steps.deployment.outputs.page_url }}
45+ steps :
46+ - id : deployment
47+ uses : actions/deploy-pages@v4
Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -26,6 +26,8 @@ share/python-wheels/
2626* .egg
2727MANIFEST
2828
29+ .python-version
30+
2931# Installer logs
3032pip-log.txt
3133pip-delete-this-directory.txt
@@ -46,9 +48,7 @@ coverage.xml
4648cover /
4749
4850# Sphinx documentation
49- docs /_build /
50- docs /build /
51- docs /source /_autosummary /
51+ docs /
5252
5353# PyBuilder
5454.pybuilder /
Load Diff This file was deleted.
Load Diff This file was deleted.
Load Diff This file was deleted.
Load Diff This file was deleted.
Load Diff This file was deleted.
Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -41,10 +41,10 @@ source = "vcs"
4141
4242[dependency-groups ]
4343dev = [
44- " sphinx>=7.4.7" ,
4544 " pytest>=8.3.5" ,
4645 " pytest-asyncio>=0.25.3" ,
4746 " mypy>=1.18.2" ,
47+ " pdoc>=16.0.0" ,
4848]
4949
5050[tool .hatch .build .targets .wheel ]
You can’t perform that action at this time.
0 commit comments