Skip to content

Commit be8d5fb

Browse files
readthedocs-assistantchrisburr
authored andcommitted
Update Read the Docs configuration (automatic)
The following migrators were applied: - Migrate to `build.tools` configuration. This uses the new base Docker image based on Ubuntu 20.04 introduced in October 2021 and picks an appropriate Python version for your project (read [our blog post](https://blog.readthedocs.com/new-build-specification/) for details). Notice that now you can specify the Node.js, Rust, and Go versions as well. *Note:* Some system dependencies are not preinstalled anymore, so this might require manually adding them to `build.apt_packages` (see [our documentation](https://docs.readthedocs.io/en/stable/config-file/v2.html#build-apt-packages>)). - Migrate to Mamba as a drop-in replacement for Conda. Your project requested using Mamba instead of Conda for performance reasons. Now this is included in your configuration and you can change it without our intervention.
1 parent 8150a4c commit be8d5fb

File tree

1 file changed

+11
-21
lines changed

1 file changed

+11
-21
lines changed

.readthedocs.yaml

+11-21
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)