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 12
12
# serve to show the default.
13
13
14
14
import sys , os
15
+ import sphinx_rtd_theme
15
16
16
17
sys .path .append (os .path .abspath ('.' ))
17
18
sys .path .append (os .path .abspath ('_themes' ))
109
110
110
111
# The theme to use for HTML and HTML Help pages. See the documentation for
111
112
# 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'
117
120
118
121
# Theme options are theme-specific and customize the look and feel of a theme
119
122
# further. For a list of options available for each theme, see the
120
123
# documentation.
121
124
#html_theme_options = {}
122
125
123
126
# 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 ()]
125
129
126
130
# from pyramid_sphinx_themes import get_html_themes_path
127
131
# html_theme_path = get_html_themes_path()
Original file line number Diff line number Diff line change 4
4
sphinxcontrib-aafig
5
5
reportlab
6
6
sphinx-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