Skip to content

Commit b58394a

Browse files
committed
Try to fix ReadTheDocs build since that doesn't yet natively support pyproject.toml dependency groups
1 parent 6bd3ef5 commit b58394a

File tree

1 file changed

+18
-18
lines changed

1 file changed

+18
-18
lines changed

.readthedocs.yaml

Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -4,27 +4,27 @@
44
# Required
55
version: 2
66

7-
# Set the OS, Python version and other tools you might need
8-
build:
9-
os: ubuntu-24.04
10-
tools:
11-
python: "3"
12-
13-
# Build documentation in the "docs/" directory with MkDocs
14-
mkdocs:
15-
configuration: mkdocs.yml
16-
177
# Optionally build your docs in additional formats such as PDF and ePub
188
# formats:
199
# - pdf
2010
# - epub
2111
formats: all
2212

23-
# Optional but recommended, declare the Python requirements required to build your documentation
24-
# See https://docs.readthedocs.io/en/stable/guides/reproducible-builds.html
25-
python:
26-
install:
27-
- method: pip
28-
path: .
29-
extra_requirements:
30-
- docs
13+
# Build documentation in the "docs/" directory with MkDocs
14+
mkdocs:
15+
configuration: mkdocs.yml
16+
17+
# Set the OS, Python version and other tools you might need
18+
build:
19+
os: ubuntu-24.04
20+
tools:
21+
python: "3.13"
22+
jobs:
23+
create_environment:
24+
- asdf plugin add uv
25+
- asdf install uv latest
26+
- asdf global uv latest
27+
- uv venv
28+
build:
29+
html:
30+
- NO_COLOR=1 uv run mkdocs build --strict --site-dir $READTHEDOCS_OUTPUT/html

0 commit comments

Comments
 (0)