-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
now readthedocs also uses toml based setup
- Loading branch information
Showing
1 changed file
with
19 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,29 @@ | ||
# Read the Docs configuration file for Sphinx projects | ||
# See https://docs.readthedocs.io/en/stable/config-file/v2.html for details | ||
|
||
# Required | ||
version: 2 | ||
|
||
# Set the OS, Python version and other tools needed | ||
build: | ||
os: "ubuntu-20.04" | ||
os: ubuntu-22.04 | ||
tools: | ||
python: "mambaforge-4.10" | ||
|
||
conda: | ||
environment: env-cpu.yml | ||
python: "3.10" | ||
|
||
# Build documentation in the "docs/" directory with Sphinx | ||
sphinx: | ||
builder: html | ||
configuration: docs/source/conf.py | ||
|
||
# Build the docs in additional formats such as PDF and ePub | ||
formats: | ||
- epub | ||
- epub | ||
|
||
# Declare the Python requirements required to build your documentation | ||
python: | ||
install: | ||
- method: pip | ||
path: . | ||
extra_requirements: | ||
- doc |