Skip to content

Commit c3e8691

Browse files
authored
Merge pull request #5805 from chrisburr/backport-5804
[v7r2] Backport readthedocs configuration changes
2 parents 04223a2 + 8ee5ad8 commit c3e8691

File tree

1 file changed

+11
-21
lines changed

1 file changed

+11
-21
lines changed

.readthedocs.yaml

Lines changed: 11 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -1,27 +1,17 @@
1-
# .readthedocs.yaml
2-
# Read the Docs configuration file
3-
# See https://docs.readthedocs.io/en/stable/config-file/v2.html for details
4-
5-
# Required
61
version: 2
7-
8-
# Build documentation in the docs/ directory with Sphinx
2+
build:
3+
os: ubuntu-20.04
4+
tools:
5+
python: mambaforge-4.10
96
sphinx:
107
configuration: docs/source/conf.py
118
fail_on_warning: true
12-
13-
# Optionally build your docs in additional formats such as PDF
14-
formats: []
15-
16-
# Use the same conda environment as the CI for building the docs
9+
python:
10+
install:
11+
- method: pip
12+
path: docs/
13+
extra_requirements:
14+
- diracdoctools
1715
conda:
1816
environment: environment-py3.yml
19-
20-
# Optionally set the version of Python and requirements required to build your docs
21-
python:
22-
install:
23-
# Install diracdoctools
24-
- method: pip
25-
path: docs/
26-
extra_requirements:
27-
- diracdoctools
17+
formats: []

0 commit comments

Comments
 (0)