diff --git a/docs/requirements-rtd.txt b/docs/requirements-rtd.txt new file mode 100644 index 0000000..a78dbf4 --- /dev/null +++ b/docs/requirements-rtd.txt @@ -0,0 +1,4 @@ +# Temporary solution as multiple requirement files can't be configured in RTD. +# See https://github.com/readthedocs/readthedocs.org/issues/1112 +-r ../requirements/requirements.txt +-r ../requirements/requirements-docs.txt diff --git a/readthedocs.yml b/readthedocs.yml index 2933c28..928dc2a 100644 --- a/readthedocs.yml +++ b/readthedocs.yml @@ -25,7 +25,4 @@ formats: # See https://docs.readthedocs.io/en/stable/guides/reproducible-builds.html python: install: - - requirements: requirements/requirements-docs.txt - # TODO: Would benefit from https://github.com/readthedocs/readthedocs.org/issues/1112: - - extra_requirements: - - typing-extensions==4.10.0 + - requirements: docs/requirements-rtd.txt