diff --git a/.readthedocs.yaml b/.readthedocs.yaml index 7e365e32..9569f6c9 100644 --- a/.readthedocs.yaml +++ b/.readthedocs.yaml @@ -1,27 +1,26 @@ -# .readthedocs.yaml -# Read the Docs configuration file -# See https://docs.readthedocs.io/en/stable/config-file/v2.html for details +# yaml-language-server: $schema=https://raw.githubusercontent.com/readthedocs/readthedocs.org/refs/heads/main/readthedocs/rtd_tests/fixtures/spec/v2/schema.json +# https://docs.readthedocs.io/en/stable/config-file/v2.html # Required version: 2 build: - os: ubuntu-24.04 + os: ubuntu-lts-latest tools: - python: mambaforge-latest + python: latest + apt_packages: + - graphviz jobs: post_checkout: - git fetch --unshallow || true - git config remote.origin.fetch '+refs/heads/*:refs/remotes/origin/*' || true - git fetch --all --tags || true pre_install: - - git update-index --assume-unchanged docs/rtd_environment.yaml docs/source/conf.py + - git update-index --assume-unchanged docs/source/conf.py post_install: + - pip install towncrier - git describe --exact-match || towncrier build --keep -conda: - environment: docs/rtd_environment.yaml - # Build documentation in the docs/ directory with Sphinx sphinx: builder: html diff --git a/docs/rtd_environment.yaml b/docs/rtd_environment.yaml deleted file mode 100644 index 7f2406d4..00000000 --- a/docs/rtd_environment.yaml +++ /dev/null @@ -1,7 +0,0 @@ -channels: - - conda-forge -dependencies: - - python=3.13 - - pip - - graphviz - - towncrier