Remove RTD check for theme selection

This commit is contained in:
Seth House 2014-04-16 23:58:58 -06:00
parent ffc35fb565
commit 2c659f033b

View File

@ -107,7 +107,6 @@ import salt.version
formulas_dir = os.path.join(os.pardir, docs_basepath, 'formulas')
on_rtd = os.environ.get('READTHEDOCS', None) == 'True'
# ----- Intersphinx Settings ------------------------------------------------>
intersphinx_mapping = {
@ -167,12 +166,10 @@ extlinks = {
locale_dirs = ['locale/']
gettext_compact = False
# <---- Localization ---------------------------------------------------------
### HTML options
if on_rtd:
html_theme = 'default'
else:
html_theme = 'saltstack'
### HTML options
html_theme = 'saltstack'
html_theme_path = ['_themes']
html_title = None
html_short_title = 'Salt'