Skip to content

Commit

Permalink
Make the python whitelisting a bit nicer.
Browse files Browse the repository at this point in the history
  • Loading branch information
ericholscher committed Feb 24, 2012
1 parent 6ef3712 commit bedc3f0
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions readthedocs/doc_builder/backends/sphinx.py
Expand Up @@ -30,9 +30,12 @@
#Add RTD CSS File only if they aren't overriding it already
using_rtd_theme = False
if 'html_theme' in locals():
if project == "Python":
#Do nothing for Python theme-wise
pass
elif 'html_theme' in locals():
if html_theme in ['default']:
if not 'html_style' in locals() and project != 'Python':
if not 'html_style' in locals():
html_style = 'rtd.css'
html_theme = 'default'
html_theme_options = {}
Expand Down

0 comments on commit bedc3f0

Please sign in to comment.