Skip to content

Commit cda524c

Browse files
committed
DOC: Update Sphinx config to support recent Sphinx/numpydoc
1 parent b58e204 commit cda524c

File tree

3 files changed

+4
-3
lines changed

3 files changed

+4
-3
lines changed

doc-requirements.txt

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# Requirements for building docs
22
-r requirements.txt
3-
# Sphinx >= 1.6 breaks the math_dollar extension
4-
sphinx<=1.5.6
3+
sphinx
54
numpydoc
65
texext
76
matplotlib>=1.3
7+
mock

doc/source/_templates/reggie.html

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
<p><img src="{{ pathto('_static/reggie.png',1) }}" alt="Reggie -- the one" /></p>

doc/source/conf.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -201,7 +201,7 @@
201201
#html_use_smartypants = True
202202

203203
# Custom sidebar templates, maps document names to template names.
204-
html_sidebars = {'index': 'indexsidebar.html'}
204+
html_sidebars = {'index': ['localtoc.html', 'relations.html', 'sourcelink.html', 'indexsidebar.html', 'searchbox.html', 'reggie.html']}
205205

206206
# Additional templates that should be rendered to pages, maps page names to
207207
# template names.

0 commit comments

Comments
 (0)