File tree Expand file tree Collapse file tree 2 files changed +11
-6
lines changed Expand file tree Collapse file tree 2 files changed +11
-6
lines changed Original file line number Diff line number Diff line change 1212# serve to show the default.
1313
1414import sys , os
15+ import sphinx_rtd_theme
1516
1617sys .path .append (os .path .abspath ('.' ))
1718sys .path .append (os .path .abspath ('_themes' ))
109110
110111# The theme to use for HTML and HTML Help pages. See the documentation for
111112# a list of builtin themes.
112- on_rtd = os .environ .get ('READTHEDOCS' , None ) == 'True'
113- if on_rtd :
114- html_theme = 'default'
115- else :
116- html_theme = 'rtd'
113+ # on_rtd = os.environ.get('READTHEDOCS', None) == 'True'
114+ # if on_rtd:
115+ # html_theme = 'default'
116+ # else:
117+ # html_theme = 'rtd'
118+
119+ html_theme = 'sphinx_rtd_theme'
117120
118121# Theme options are theme-specific and customize the look and feel of a theme
119122# further. For a list of options available for each theme, see the
120123# documentation.
121124#html_theme_options = {}
122125
123126# Add any paths that contain custom themes here, relative to this directory.
124- html_theme_path = ['_themes' ]
127+ #html_theme_path = ['_themes']
128+ html_theme_path = [sphinx_rtd_theme .get_html_theme_path ()]
125129
126130# from pyramid_sphinx_themes import get_html_themes_path
127131# html_theme_path = get_html_themes_path()
Original file line number Diff line number Diff line change 44sphinxcontrib-aafig
55reportlab
66sphinx-argparse
7+ -e git+git://github.com/tony/sphinx_rtd_theme@pypi#egg=sphinx_rtd_theme
You can’t perform that action at this time.
0 commit comments