Skip to content

Commit

Permalink
Use a YAML file and Python requirements
Browse files Browse the repository at this point in the history
The `.readthedocs.yaml` file is now required.

Besdies, we are not installing the Read the Docs Sphinx theme by default.
Due to that, we need to manually install it via `requirements.txt`
  • Loading branch information
humitos committed Aug 16, 2023
1 parent 35d2c35 commit 4dc7417
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
10 changes: 10 additions & 0 deletions .readthedocs.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
version: "2"

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

python:
install:
- requirements: docs/requirements.txt
2 changes: 2 additions & 0 deletions docs/requirements.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

0 comments on commit 4dc7417

Please sign in to comment.