Skip to content

Commit

Permalink
use RTD theme everywhere
Browse files Browse the repository at this point in the history
  • Loading branch information
mzmiric5 committed Nov 6, 2015
1 parent 6233165 commit ee1fad9
Showing 1 changed file with 11 additions and 2 deletions.
13 changes: 11 additions & 2 deletions conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@

# General information about the project.
project = u'OpenRCT2'
copyright = u'2015, OpenRCT2, IntelOrca, duncans_pumpkin'
copyright = u'2015, OpenRCT2'
author = u'OpenRCT2, IntelOrca, duncans_pumpkin'

# The version info for the project you're documenting, acts as replacement for
Expand Down Expand Up @@ -108,7 +108,16 @@

# The theme to use for HTML and HTML Help pages. See the documentation for
# a list of builtin themes.
html_theme = 'alabaster'

# on_rtd is whether we are on readthedocs.org, this line of code grabbed from docs.readthedocs.org
on_rtd = os.environ.get('READTHEDOCS', None) == 'True'

if not on_rtd: # only import and set the theme if we're building docs locally
import sphinx_rtd_theme
html_theme = 'sphinx_rtd_theme'
html_theme_path = [sphinx_rtd_theme.get_html_theme_path()]

#html_theme = 'alabaster'

# 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
Expand Down

0 comments on commit ee1fad9

Please sign in to comment.