# Read the Docs configuration file
# See https://docs.readthedocs.io/en/stable/config-file/v2.html for details

# Required
version: 2

# Build documentation in the docs/ directory with Sphinx
sphinx:
  configuration: docs/source/conf.py

# Optionally build your docs in additional formats such as PDF
formats:
  - pdf

# use conda for the environment
conda:
  environment: docs/environment.yml

# Optionally set the version of Python and requirements required to build your docs
python:
  version: 3.7
  install:
    - method: setuptools
      path: .

version: 2
build:
  os: ubuntu-20.04
  tools:
    python: mambaforge-4.10
sphinx:
  configuration: docs/source/conf.py
python:
  install:
  - method: setuptools
    path: .
conda:
  environment: docs/environment.yml
formats:
- pdf

Update Read the Docs configuration (automatic)
Update Read the Docs configuration (automatic)

The following migrators were applied:

- Convert the Python version to a string.

This makes the configuration valid according to the schema
and protects you from
["the Python 3.1 problem"](https://dev.to/hugovk/the-python-3-1-problem-85g).

- 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.