1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27
|
# Read the Docs configuration file.
# See https://docs.readthedocs.io/en/stable/config-file/v2.html for details.
build:
# https://docs.readthedocs.com/platform/stable/config-file/v2.html#build-os
os: ubuntu-24.04
tools:
# https://docs.readthedocs.com/platform/stable/config-file/v2.html#build-tools-python
python: '3.14'
jobs:
pre_create_environment:
- asdf plugin add uv
- asdf install uv 0.9.16
- asdf global uv 0.9.16
create_environment:
- uv venv "${READTHEDOCS_VIRTUALENV_PATH}"
install:
- UV_PROJECT_ENVIRONMENT="${READTHEDOCS_VIRTUALENV_PATH}" uv sync --frozen --no-dev --group docs
mkdocs:
configuration: mkdocs.yml
python:
install:
- requirements: requirements/docs.txt
version: 2
|