Skip to content

Commit

Permalink
Add .readthedocs.yaml configuration file
Browse files Browse the repository at this point in the history
Read the Docs will soon require this configuration file to be used.

Rename requirements.txt to reflect that it contains *development*
requirements. We still only really need it for readthedocs -- other
tools (e.g. cibuildwheel) mostly read pyproject.toml.
  • Loading branch information
jmarshall committed Aug 15, 2023
1 parent 2abc62d commit 1e1d2ba
Show file tree
Hide file tree
Showing 3 changed files with 24 additions and 0 deletions.
22 changes: 22 additions & 0 deletions .readthedocs.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
version: 2

build:
os: ubuntu-22.04
tools:
python: "3.11"

python:
install:
- requirements: requirements-dev.txt
- requirements: doc/requirements-rtd.txt
- method: setuptools
path: .

sphinx:
builder: html
configuration: doc/conf.py

formats:
- epub
- htmlzip
- pdf
2 changes: 2 additions & 0 deletions doc/requirements-rtd.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
sphinx==7.1.2
sphinx-rtd-theme==1.3.0rc1
File renamed without changes.

0 comments on commit 1e1d2ba

Please sign in to comment.