From 03e0654e42d6dea6e23b0283186e27359b2bd145 Mon Sep 17 00:00:00 2001 From: Adam Kamor Date: Wed, 25 Mar 2026 09:20:24 -0400 Subject: [PATCH 1/3] doc building --- .github/workflows/docs.yml | 37 +++++++++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) create mode 100644 .github/workflows/docs.yml diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml new file mode 100644 index 0000000..7e5866a --- /dev/null +++ b/.github/workflows/docs.yml @@ -0,0 +1,37 @@ +name: Build Docs + +on: + push: + branches: [ main ] + pull_request: + branches: [ main ] + +jobs: + build-docs: + runs-on: ubuntu-22.04 + + steps: + - uses: actions/checkout@v3 + + - name: Install uv + uses: astral-sh/setup-uv@v4 + + - name: Set up Python + run: uv python install 3.9 + + - name: Install project dependencies + run: uv sync + + - name: Install docs dependencies + run: uv pip install -r docs/requirements.txt + + - name: Build docs + run: | + cd docs + make html + + - name: Upload docs artifact + uses: actions/upload-artifact@v4 + with: + name: docs-html + path: docs/build/html From 3a1ff52eba4716f62a5fbefb94f288d320be2d51 Mon Sep 17 00:00:00 2001 From: Adam Kamor Date: Wed, 25 Mar 2026 09:21:50 -0400 Subject: [PATCH 2/3] making it required --- .github/workflows/docs.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index 7e5866a..646398b 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -28,7 +28,7 @@ jobs: - name: Build docs run: | cd docs - make html + make html SPHINXOPTS="-W --keep-going" - name: Upload docs artifact uses: actions/upload-artifact@v4 From 42f2e94cc61453c651788b3a9776db3783ad20dd Mon Sep 17 00:00:00 2001 From: Adam Kamor Date: Wed, 25 Mar 2026 09:26:45 -0400 Subject: [PATCH 3/3] fixing make --- .github/workflows/docs.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index 646398b..f19a309 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -28,7 +28,7 @@ jobs: - name: Build docs run: | cd docs - make html SPHINXOPTS="-W --keep-going" + uv run make html SPHINXOPTS="-W --keep-going" - name: Upload docs artifact uses: actions/upload-artifact@v4