Skip to content

Commit

Permalink
Merge pull request #60 from deka27/sphinx_fix
Browse files Browse the repository at this point in the history
BF: Sphinx Build Error
  • Loading branch information
skoudoro authored Aug 6, 2024
2 parents 65a9e26 + 1b9969a commit 0d4dae9
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@

from packaging.version import Version
import sphinx
if Version(sphinx.__version__) < Version('2'):
raise RuntimeError('Need sphinx >= 2 for numpydoc to work correctly')
if Version(sphinx.__version__) < Version('6') or Version(sphinx.__version__) >= Version('8'):
raise RuntimeError('Needs 8 > Sphinx Version >= 6 for numpydoc to work correctly')

# If extensions (or modules to document with autodoc) are in another directory,
# add these directories to sys.path here. If the directory is relative to the
Expand Down
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
numpydoc
sphinx!=4.4
sphinx==7.4.6
tomli>=2.0.1
grg-sphinx-theme>=0.3.2
Jinja2
Expand Down

0 comments on commit 0d4dae9

Please sign in to comment.