ci(readthedocs): build docs with uv

Based on:
7c5143848f/docs/user/build-customization.rst (install-dependencies-with-uv)
This commit is contained in:
Enno Hermann 2024-11-06 10:06:52 +01:00
parent ef8158d281
commit 020a72434e
3 changed files with 7 additions and 14 deletions

View File

@ -9,14 +9,13 @@ version: 2
build:
os: ubuntu-22.04
tools:
python: "3.11"
# Optionally set the version of Python and requirements required to build your docs
python:
install:
- path: .
extra_requirements:
- docs
python: "3.12"
commands:
- asdf plugin add uv
- asdf install uv latest
- asdf global uv latest
- uv sync --group docs
- uv run -m sphinx -T -b html -d docs/_build/doctrees -D language=en docs/source $READTHEDOCS_OUTPUT/html
# Build documentation in the docs/ directory with Sphinx
sphinx:

View File

View File

@ -1,6 +0,0 @@
furo
myst-parser == 2.0.0
sphinx == 7.2.5
sphinx_inline_tabs
sphinx_copybutton
linkify-it-py