Skip to content

Commit 8299732

Browse files
committed
Correct link to favicon by using build in sphix support
1 parent 10a860e commit 8299732

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

doc/_templates/layout.html

-2
Original file line numberDiff line numberDiff line change
@@ -169,8 +169,6 @@ <h3>We're updating the default styles for Matplotlib 2.0</h3>
169169

170170
{% block relbar1 %}
171171

172-
<link rel="shortcut icon" href="/_static/favicon.ico">
173-
174172
<!-- The "Fork me on github" ribbon -->
175173
<img style="float: right; margin-bottom: -40px; top: 0; right: 0; border: 0;" src="https://s3.amazonaws.com/github/ribbons/forkme_right_orange_ff7600.png" usemap="#ribbonmap"/>
176174
<map name="ribbonmap">

doc/conf.py

+2
Original file line numberDiff line numberDiff line change
@@ -213,6 +213,8 @@
213213
# Output file base name for HTML help builder.
214214
htmlhelp_basename = 'Matplotlibdoc'
215215

216+
# Path to favicon
217+
html_favicon = '_static/favicon.ico'
216218

217219
# Options for LaTeX output
218220
# ------------------------

0 commit comments

Comments
 (0)