diff --git a/.readthedocs.yml b/.readthedocs.yml index c54fd88..60dff3f 100644 --- a/.readthedocs.yml +++ b/.readthedocs.yml @@ -4,6 +4,9 @@ build: os: ubuntu-22.04 tools: python: "3.12" + jobs: + post_create_environment: + - python -m pip install -r docs-requirements.txt sphinx: configuration: docs/conf.py diff --git a/dev-requirements.txt b/dev-requirements.txt index 02ff0d0..b4c10bf 100644 --- a/dev-requirements.txt +++ b/dev-requirements.txt @@ -1,12 +1,7 @@ -r requirements.txt +-r docs-requirements.txt -r test-requirements.txt -# for the documentation -sphinx==7.2.6 -sphinx-autobuild>=2024.2.4 -numpydoc==1.6.0 -sphinx_rtd_theme==2.0.0 - # for linting mypy==1.9.0 pre-commit==3.6.2 diff --git a/docs-requirements.txt b/docs-requirements.txt new file mode 100644 index 0000000..c49c262 --- /dev/null +++ b/docs-requirements.txt @@ -0,0 +1,5 @@ +# requirements for generating the documentation +sphinx==7.2.6 +sphinx-autobuild>=2024.2.4 +numpydoc==1.6.0 +sphinx_rtd_theme==2.0.0 \ No newline at end of file diff --git a/pyproject.toml b/pyproject.toml index 901a400..cbe4815 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -4,7 +4,7 @@ license_file = "LICENSE" [tool.black] line-length = 79 -target-version = ['py38', 'py39', 'py310', 'py311'] +target-version = ['py39', 'py310', 'py311', 'py312'] include = '\.pyi?$' exclude = ''' /(