From ed2bb35d45d885b0081e5cc08b9959002d2e06c8 Mon Sep 17 00:00:00 2001 From: Vitor Hideyoshi Date: Sun, 22 Jun 2025 08:45:05 -0300 Subject: [PATCH] Fix ReadTheDocs Config File --- .readthedocs.yaml | 25 ++++++++++++++----------- 1 file changed, 14 insertions(+), 11 deletions(-) diff --git a/.readthedocs.yaml b/.readthedocs.yaml index 880335a..ac86e70 100644 --- a/.readthedocs.yaml +++ b/.readthedocs.yaml @@ -1,19 +1,22 @@ version: 2 +# Specify os and python version build: - os: ubuntu-22.04 + os: "ubuntu-24.04" tools: - python: "3.10" - + python: "3.12" jobs: - pre_build: - - curl -Ls https://astral.sh/uv/install.sh | sh - - export PATH="$HOME/.cargo/bin:$PATH" - - uv sync - - build: - - cd docs - - make html + create_environment: + - asdf plugin add uv + - asdf install uv latest + - asdf global uv latest + - UV_PROJECT_ENVIRONMENT=$READTHEDOCS_VIRTUALENV_PATH uv sync --all-extras + install: + - "true" +# Build documentation in the docs/ directory with Sphinx sphinx: configuration: docs/source/conf.py + +# Optionally build your docs in additional formats such as PDF and ePub +formats: all \ No newline at end of file -- 2.49.1