Skip to content

Commit a2e9e6b

Browse files
committed
chore: update Sphinx documentation build paths and fix directory structure
1 parent 2e43c26 commit a2e9e6b

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

.github/workflows/docs.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,8 @@ jobs:
3131
- name: Build Sphinx Documentation
3232
run: |
3333
cd docs
34-
mkdir -p source/_static
35-
uv run sphinx-build -M html source build -W
34+
mkdir -p _static
35+
uv run sphinx-build -M html _build -W
3636
3737
deploy:
3838
environment:

docs/conf.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
import os
22
import sys
3+
import re
34
# Ensure Sphinx can find the source code
45
sys.path.insert(0, os.path.abspath("../src"))
56

@@ -8,7 +9,7 @@ def get_project_metadata():
89
import pathlib
910
import sys
1011

11-
pyproject_path = pathlib.Path(__file__).parents[2] / "pyproject.toml"
12+
pyproject_path = pathlib.Path(__file__).parents[1] / "pyproject.toml"
1213
if sys.version_info >= (3, 11):
1314
import tomllib
1415

0 commit comments

Comments
 (0)