Skip to content

Commit

Permalink
now readthedocs also uses toml based setup
Browse files Browse the repository at this point in the history
  • Loading branch information
Nikronic committed Sep 9, 2023
1 parent 2fc5339 commit 6f57f6d
Showing 1 changed file with 19 additions and 7 deletions.
26 changes: 19 additions & 7 deletions .readthedocs.yaml
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:
- pdf
- epub
- pdf
- epub

# Declare the Python requirements required to build your documentation
python:
install:
- method: pip
path: .
extra_requirements:
- doc

0 comments on commit 6f57f6d

Please sign in to comment.