mirror of https://github.com/mahmoud/boltons.git
now trying to fix RTD theme breakage
This commit is contained in:
parent
791349d820
commit
c472c3a5d0
12
docs/conf.py
12
docs/conf.py
|
@ -74,12 +74,12 @@ intersphinx_mapping = {'python': ('https://docs.python.org/2.7', None)}
|
|||
|
||||
# The theme to use for HTML and HTML Help pages. See the documentation for
|
||||
# a list of builtin themes.
|
||||
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'
|
||||
#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
|
||||
|
|
Loading…
Reference in New Issue