Skip to content

Commit 9212209

Browse files
committed
Adding .readthedocs.yaml to ensure the package is installed with pip, not setup.py install
1 parent 57d2db4 commit 9212209

File tree

1 file changed

+27
-0
lines changed

1 file changed

+27
-0
lines changed

.readthedocs.yaml

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
# .readthedocs.yaml
2+
# Read the Docs configuration file
3+
# See https://docs.readthedocs.io/en/stable/config-file/v2.html for details
4+
5+
# Required
6+
version: 2
7+
8+
# Set the version of Python and other tools you might need
9+
build:
10+
os: ubuntu-22.04
11+
tools:
12+
python: "3.10"
13+
14+
# Build documentation in the docs/ directory with Sphinx
15+
sphinx:
16+
configuration: doc/conf.py
17+
18+
# If using Sphinx, optionally build your docs in additional formats such as PDF
19+
formats:
20+
- pdf
21+
22+
# Optionally declare the Python requirements required to build your docs
23+
python:
24+
install:
25+
- requirements: doc/rtd-requirements.txt
26+
- method: pip
27+
path: .

0 commit comments

Comments
 (0)