Skip to content

Commit f331594

Browse files
committed
clean code & remove sphinx version restriction
1 parent 883535d commit f331594

File tree

3 files changed

+3
-4
lines changed

3 files changed

+3
-4
lines changed

doc/conf.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -180,7 +180,6 @@ def _check_dependencies():
180180
# Import only after checking for dependencies.
181181
# gallery_order.py from the sphinxext folder provides the classes that
182182
# allow custom ordering of sections and subsections of the gallery
183-
import sphinxext.gallery_order as gallery_order
184183

185184
# The following import is only necessary to monkey patch the signature later on
186185
from sphinx_gallery import gen_rst

doc/sphinxext/util.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import sys
22

3-
# Sphinx gallery configuration
3+
44
def matplotlib_reduced_latex_scraper(block, block_vars, gallery_conf,
55
**kwargs):
66
"""
@@ -17,4 +17,4 @@ def matplotlib_reduced_latex_scraper(block, block_vars, gallery_conf,
1717

1818

1919
def clear_basic_unit(gallery_conf, fname):
20-
return sys.modules.pop('basic_units', None)
20+
return sys.modules.pop('basic_units', None)

requirements/doc/doc-requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
# Install the documentation requirements with:
88
# pip install -r requirements/doc/doc-requirements.txt
99
#
10-
sphinx>=3.0.0,!=6.1.2,!=7.3.*
10+
sphinx>=3.0.0
1111
colorspacious
1212
ipython
1313
ipywidgets

0 commit comments

Comments
 (0)