Skip to content

Commit

Permalink
BF: Sphinx Build Error
Browse files Browse the repository at this point in the history
  • Loading branch information
deka27 committed Aug 6, 2024
1 parent 65a9e26 commit 1b9969a
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 1b9969a

Please sign in to comment.