File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 77 runs-on : ubuntu-latest
88 steps :
99 - uses : actions/checkout@v6
10+ - name : Set up Python
11+ uses : astral-sh/setup-uv@v7
12+ with :
13+ python-version : " 3.12"
14+ cache-python : true
15+ activate-environment : true
16+ enable-cache : true
17+
1018 - name : Doxygen Action
1119 uses : mattnotmitt/doxygen-action@1.12.0
1220 with :
1321 working-directory : " doc/"
1422
23+ - name : Synchronize the virtual environment
24+ run : uv sync --managed-python --no-dev --group doc
25+
1526 - name : Build Sphinx documentation
1627 run : |
17- pip install -r doc/requirements.txt
18- sphinx-build doc/source/ ./doc/build/html/
28+ uv run sphinx-build doc/source/ ./doc/build/html/
1929
2030 - name : Upload artifact
2131 # Automatically uploads an artifact from the './_site' directory by default
22- uses : actions/upload-pages-artifact@v4
32+ uses : actions/upload-pages-artifact@v5
2333 with :
2434 path : doc/build/html/
2535
Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -39,6 +39,13 @@ dev = [
3939 " numpy >=2 ; python_version >= '3.10'" ,
4040 " numpy <2 ; python_version < '3.10'" ,
4141]
42+ doc = [
43+ " sphinx" ,
44+ " furo>=2025.12.19" ,
45+ " pygments>=2.20" ,
46+ " breathe" ,
47+ " sphinx-csharp @ git+https://github.com/rogerbarton/sphinx-csharp.git" ,
48+ ]
4249
4350[[project .authors ]]
4451name = " The Contributors of the Python.NET Project"
You can’t perform that action at this time.
0 commit comments