File tree Expand file tree Collapse file tree 2 files changed +7
-2
lines changed
lib/matplotlib/sphinxext/tests/tinypages Expand file tree Collapse file tree 2 files changed +7
-2
lines changed Original file line number Diff line number Diff line change @@ -24,7 +24,7 @@ matrix:
2424 env : BUILD_DOCS=true
2525
2626install :
27- - pip install -q --use-mirrors nose python-dateutil $NUMPY pep8 pyparsing pillow sphinx
27+ - pip install -q --use-mirrors nose python-dateutil $NUMPY pep8 pyparsing pillow sphinx==1.2.3
2828 - sudo apt-get update && sudo apt-get -qq install inkscape libav-tools gdb mencoder
2929 # We use --no-install-recommends to avoid pulling in additional large latex docs that we don't need
3030
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