Skip to content

Commit 3f3e9ac

Browse files
[DOCS] use pip and apt to install packages for RTD builds
1 parent 1459190 commit 3f3e9ac

1 file changed

Lines changed: 7 additions & 9 deletions

File tree

.readthedocs.yaml

Lines changed: 7 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,27 +1,25 @@
1-
# .readthedocs.yaml
2-
# Read the Docs configuration file
3-
# See https://docs.readthedocs.io/en/stable/config-file/v2.html for details
1+
# yaml-language-server: $schema=https://raw.githubusercontent.com/readthedocs/readthedocs.org/refs/heads/main/readthedocs/rtd_tests/fixtures/spec/v2/schema.json
2+
# https://docs.readthedocs.io/en/stable/config-file/v2.html
43

54
# Required
65
version: 2
76

87
build:
9-
os: ubuntu-24.04
8+
os: ubuntu-lts-latest
109
tools:
11-
python: mambaforge-latest
10+
python: latest
11+
apt_packages:
12+
- graphviz
1213
jobs:
1314
post_checkout:
1415
- git fetch --unshallow || true
1516
- git config remote.origin.fetch '+refs/heads/*:refs/remotes/origin/*' || true
1617
- git fetch --all --tags || true
1718
pre_install:
18-
- git update-index --assume-unchanged docs/rtd_environment.yaml docs/source/conf.py
19+
- git update-index --assume-unchanged docs/source/conf.py
1920
post_install:
2021
- git describe --exact-match || towncrier build --keep
2122

22-
conda:
23-
environment: docs/rtd_environment.yaml
24-
2523
# Build documentation in the docs/ directory with Sphinx
2624
sphinx:
2725
builder: html

0 commit comments

Comments
 (0)