diff --git a/.readthedocs.yml b/.readthedocs.yml index b925ccb1..c3c1c0d7 100644 --- a/.readthedocs.yml +++ b/.readthedocs.yml @@ -1,21 +1,24 @@ -# .readthedocs.yml -# Read the Docs configuration file -# See https://docs.readthedocs.io/en/stable/config-file/v2.html for details - -# Required version: 2 -# Build documentation in the docs/ directory with Sphinx sphinx: - configuration: docs/sphinx/source/conf.py + configuration: docs/sphinx/source/conf.py + +build: + os: ubuntu-24.04 + tools: + python: "3.13" + jobs: + pre_create_environment: + - asdf plugin add uv + - asdf install uv latest + - asdf global uv latest + create_environment: + - uv venv "${READTHEDOCS_VIRTUALENV_PATH}" + install: + - UV_PROJECT_ENVIRONMENT="${READTHEDOCS_VIRTUALENV_PATH}" uv sync --group docs -# Just generate htmlzip version, as pdf failing due to inclusion of svg files (in badges) formats: - htmlzip -python: - install: - - requirements: docs/sphinx/requirements.txt - submodules: exclude: all diff --git a/docs/sphinx/requirements.txt b/docs/sphinx/requirements.txt deleted file mode 100644 index 759ed661..00000000 --- a/docs/sphinx/requirements.txt +++ /dev/null @@ -1,2 +0,0 @@ -# Install all the dependencies ---group=docs