Commit ce824e24 authored by Poul-Henning Kamp's avatar Poul-Henning Kamp Committed by Federico G. Schwindt

Add a very crude hack to detect what the default sphinx theme is called.

parent 1c68d1d4
......@@ -91,7 +91,12 @@ pygments_style = 'sphinx'
# The theme to use for HTML and HTML Help pages. Major themes that come with
# Sphinx are currently 'default' and 'sphinxdoc'.
html_theme = 'default'
import sphinx
if sphinx.__version__ >= '1.3.1':
html_theme = 'classic'
else:
html_theme = 'default'
# Theme options are theme-specific and customize the look and feel of a theme
# further. For a list of options available for each theme, see the
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment