From febcb491e2e253a9004d51ec80a32cf8accd3753 Mon Sep 17 00:00:00 2001 From: Daniel Haag <121057143+denialhaag@users.noreply.github.com> Date: Tue, 23 Jun 2026 22:44:19 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=94=A7=20Simplify=20.readthedocs.yaml?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .readthedocs.yaml | 32 ++++++++------------------------ 1 file changed, 8 insertions(+), 24 deletions(-) diff --git a/.readthedocs.yaml b/.readthedocs.yaml index 3b96e62..9d91b4e 100644 --- a/.readthedocs.yaml +++ b/.readthedocs.yaml @@ -11,29 +11,13 @@ build: tools: python: "3.14" apt_packages: + - cmake - graphviz - inkscape - jobs: - post_checkout: - # Skip docs build if the commit message contains "skip ci" - - (git --no-pager log --pretty="tformat:%s -- %b" -1 | grep -viq "skip ci") || exit 183 - # Skip docs build if there are no changes related to docs - - | - if [ "$READTHEDOCS_VERSION_TYPE" = "external" ] && git diff --quiet origin/main -- bindings/ include/ docs/ python/ .github/contributing* .github/support* .readthedocs.yaml; - then - exit 183; - fi - # Unshallow the git clone and fetch tags to get proper version information - - git fetch --unshallow --tags - pre_build: - # Set up uv - - asdf plugin add uv - - asdf install uv latest - - asdf global uv latest - build: - html: - - uv run --frozen --no-dev --group docs -m sphinx -T -b html -d docs/_build/doctrees -D language=en docs $READTHEDOCS_OUTPUT/html - htmlzip: - - uv run --frozen --no-dev --group docs -m sphinx -T -b dirhtml -d docs/_build/doctrees -D language=en docs docs/_build/dirhtml - - mkdir -p $READTHEDOCS_OUTPUT/htmlzip - - zip -r $READTHEDOCS_OUTPUT/htmlzip/html.zip docs/_build/dirhtml/* + +python: + install: + - method: uv + command: sync + groups: + - docs