Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 12 additions & 2 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,15 +7,25 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
- name: Set up Python
uses: astral-sh/setup-uv@v7
with:
python-version: "3.12"
cache-python: true
activate-environment: true
enable-cache: true

- name: Doxygen Action
uses: mattnotmitt/doxygen-action@1.12.0
with:
working-directory: "doc/"

- name: Synchronize the virtual environment
run: uv sync --managed-python --no-dev --group doc

- name: Build Sphinx documentation
run: |
pip install -r doc/requirements.txt
sphinx-build doc/source/ ./doc/build/html/
uv run sphinx-build doc/source/ ./doc/build/html/

- name: Upload artifact
# Automatically uploads an artifact from the './_site' directory by default
Expand Down
20 changes: 0 additions & 20 deletions doc/Makefile

This file was deleted.

35 changes: 0 additions & 35 deletions doc/make.bat

This file was deleted.

12 changes: 0 additions & 12 deletions doc/requirements.txt

This file was deleted.

7 changes: 7 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,13 @@ dev = [
"numpy >=2 ; python_version >= '3.10'",
"numpy <2 ; python_version < '3.10'",
]
doc = [
"sphinx",
"furo>=2025.12.19",
"pygments>=2.20",
"breathe",
"sphinx-csharp @ git+https://github.com/rogerbarton/sphinx-csharp.git",
]

[[project.authors]]
name = "The Contributors of the Python.NET Project"
Expand Down
Loading
Loading