Skip to content

Commit 76fa9e5

Browse files
author
Elia Robyn Lake
committed
try to configure readthedocs for uv
1 parent d15ac27 commit 76fa9e5

2 files changed

Lines changed: 9 additions & 10 deletions

File tree

.readthedocs.yaml

Lines changed: 8 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -10,15 +10,14 @@ build:
1010
os: ubuntu-24.04
1111
tools:
1212
python: "3.11"
13-
jobs:
14-
post_create_environment:
15-
# Install poetry
16-
# https://python-poetry.org/docs/#installing-manually
17-
- python -m pip install poetry
18-
post_install:
19-
# Install only dependencies
20-
# https://python-poetry.org/docs/managing-dependencies/#dependency-groups
21-
- VIRTUAL_ENV=$READTHEDOCS_VIRTUALENV_PATH poetry install
13+
commands:
14+
- asdf plugin add uv
15+
- asdf install uv latest
16+
- asdf global uv latest
17+
- uv venv
18+
- uv sync
19+
- .venv/bin/python -m sphinx -T -b html -d docs/_build/doctrees -D language=en docs $READTHEDOCS_OUTPUT/html
20+
2221
# Build documentation in the docs/ directory with Sphinx
2322
sphinx:
2423
configuration: docs/conf.py

docs/conf.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@
4848
# The short X.Y version.
4949
version = "6.3"
5050
# The full version, including alpha/beta/rc tags.
51-
release = "6.3.0"
51+
release = "6.3.0rc1"
5252

5353
# The language for content autogenerated by Sphinx. Refer to documentation
5454
# for a list of supported languages.

0 commit comments

Comments
 (0)