diff --git a/.readthedocs.yaml b/.readthedocs.yaml new file mode 100644 index 00000000..f35f7d60 --- /dev/null +++ b/.readthedocs.yaml @@ -0,0 +1,22 @@ +--- +# Read the Docs configuration file + +# See https://docs.readthedocs.io/en/stable/config-file/v2.html for details + +# Required +version: 2 + +# Set the version of Python and other tools you might need +build: + os: ubuntu-20.04 + tools: + python: "3.8" + +# Build documentation in the docs/ directory with Sphinx +sphinx: + configuration: docs/conf.py + +# Install dev requirements so that the documentation can build correctly +python: + install: + - requirements: requirements-dev.txt diff --git a/docs/requirements.txt b/docs/requirements.txt deleted file mode 100644 index b08562d8..00000000 --- a/docs/requirements.txt +++ /dev/null @@ -1,3 +0,0 @@ -# NOTE: this gets run during the RTD build from the parent directory with: -# python -m pip install --exists-action=w --no-cache-dir -r docs/requirements.txt --e .[dev,css]