File tree Expand file tree Collapse file tree 1 file changed +6
-1
lines changed
lib/matplotlib/sphinxext/tests/tinypages Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Original file line number Diff line number Diff line change 1414
1515import sys
1616from os .path import join as pjoin , abspath
17+ import sphinx
18+ from distutils .version import LooseVersion
1719
1820# If extensions (or modules to document with autodoc) are in another directory,
1921# add these directories to sys.path here. If the directory is relative to the
99101
100102# The theme to use for HTML and HTML Help pages. See the documentation for
101103# a list of builtin themes.
102- html_theme = 'default'
104+ if LooseVersion (sphinx .__version__ ) >= LooseVersion ('1.3' ):
105+ html_theme = 'classic'
106+ else :
107+ html_theme = 'default'
103108
104109# Theme options are theme-specific and customize the look and feel of a theme
105110# further. For a list of options available for each theme, see the
You can’t perform that action at this time.
0 commit comments