diff --git a/.readthedocs.yaml b/.readthedocs.yaml index 894b38d0..a124b7ca 100644 --- a/.readthedocs.yaml +++ b/.readthedocs.yaml @@ -28,4 +28,7 @@ sphinx: # See https://docs.readthedocs.io/en/stable/guides/reproducible-builds.html python: install: - - requirements: requirements/doc.txt + - method: pip + path: . + extra_requirements: + - doc diff --git a/setup.py b/setup.py index 4825254e..e7bec9fb 100644 --- a/setup.py +++ b/setup.py @@ -65,6 +65,11 @@ def read(fname): for req in read("requirements/test.txt").split("\n") if not req.startswith("#") ], + "doc": [ + req + for req in read("requirements/doc.txt").split("\n") + if not req.startswith("#") + ], }, package_data={ "numpydoc": [