Skip to content

Commit

Permalink
Update Read the Docs configuration (automatic) (#170)
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
readthedocs-assistant authored Mar 7, 2022
1 parent dade517 commit 93a2c8c
Showing 1 changed file with 10 additions and 6 deletions.
16 changes: 10 additions & 6 deletions .readthedocs.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,15 @@
version: 2
build:
os: ubuntu-20.04
tools:
python: mambaforge-4.10
sphinx:
configuration: docs/conf.py
formats:
- pdf
conda:
environment: environment.yml
python:
install:
- method: pip
path: .
- method: pip
path: .
conda:
environment: environment.yml
formats:
- pdf

0 comments on commit 93a2c8c

Please sign in to comment.