Skip to content

Commit

Permalink
Merge pull request #48 from felixriese/fix-rtd-docs2
Browse files Browse the repository at this point in the history
Add docs requirements.txt for rtd
  • Loading branch information
felixriese committed Mar 24, 2024
2 parents 8851c15 + 2c3ff6f commit 6fc1052
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 7 deletions.
3 changes: 3 additions & 0 deletions .readthedocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
7 changes: 1 addition & 6 deletions dev-requirements.txt
Original file line number Diff line number Diff line change
@@ -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
5 changes: 5 additions & 0 deletions docs-requirements.txt
Original file line number Diff line number Diff line change
@@ -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
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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 = '''
/(
Expand Down

0 comments on commit 6fc1052

Please sign in to comment.