From 2ef7b0d7fe46d9200207acb04d095479f9d9870c Mon Sep 17 00:00:00 2001 From: James Estevez Date: Thu, 14 Nov 2024 21:19:44 -0800 Subject: [PATCH] fix: RTD config rename, upgrade OS/Python, add uv setup - Rename readthedocs.yml to .readthedocs.yml, - update to Ubuntu 22.04 and Python 3.12, - add uv setup and mkdocs build commands. --- .readthedocs.yaml | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/.readthedocs.yaml b/.readthedocs.yaml index c454f933..bde33300 100644 --- a/.readthedocs.yaml +++ b/.readthedocs.yaml @@ -7,12 +7,12 @@ mkdocs: configuration: mkdocs.yml build: - os: ubuntu-20.04 + os: ubuntu-22.04 tools: - python: "3.10" - -python: - install: - - requirements: requirements_dev.txt - - method: setuptools - path: . + python: "3.12" + commands: + - asdf plugin add uv + - asdf install uv latest + - asdf global uv latest + - uv sync --group docs --frozen + - uv run mkdocs build --site-dir $READTHEDOCS_OUTPUT/html