Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 6ff5287

Browse files
anntzertimhoffm
authored andcommitted
Pin to sphinx<1.8; unremove sphinxext.mathmpl. (#12109)
1 parent fdd3612 commit 6ff5287

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

doc-requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
# Install the documentation requirements with:
77
# pip install -r doc-requirements.txt
88
#
9-
sphinx>=1.3,!=1.5.0,!=1.6.4,!=1.7.3
9+
sphinx>=1.3,!=1.5.0,!=1.6.4,!=1.7.3,<1.8
1010
colorspacious
1111
ipython
1212
ipywidgets

doc/conf.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,15 +37,14 @@
3737
'IPython.sphinxext.ipython_directive',
3838
'numpydoc', # Needs to be loaded *after* autodoc.
3939
'sphinx_gallery.gen_gallery',
40+
'matplotlib.sphinxext.mathmpl',
4041
'matplotlib.sphinxext.plot_directive',
4142
'sphinxext.custom_roles',
4243
'sphinxext.github',
4344
'sphinxext.math_symbol_table',
4445
'sphinxext.mock_gui_toolkits',
4546
'sphinxext.skip_deprecated',
4647
]
47-
if sphinx.version_info < (1, 8):
48-
extensions.append('matplotlib.sphinxext.mathmpl')
4948

5049
exclude_patterns = ['api/api_changes/*', 'users/whats_new/*']
5150

0 commit comments

Comments
 (0)