We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 43d4c10 + 99da366 commit ec276e2Copy full SHA for ec276e2
doc/_static/logo2.png
21.8 KB
doc/_templates/layout.html
@@ -177,8 +177,11 @@ <h3>We're updating the default styles for Matplotlib 2.0</h3>
177
</map>
178
179
<div style="background-color: white; text-align: left; padding: 10px 10px 15px 15px">
180
-<a href="{{ pathto('index') }}"><img src="{{
181
-pathto("_static/logo2.svg", 1) }}" width="540px" border="0" alt="matplotlib"/></a>
+{%- if builder in ('htmlhelp', 'devhelp', 'latex') %}
+<a href="{{ pathto('index') }}"><img src="{{pathto("_static/logo2.png", 1) }}" width="540px" border="0" alt="matplotlib"/></a>
182
+{%- else %}
183
+<a href="{{ pathto('index') }}"><img src="{{pathto("_static/logo2.svg", 1) }}" width="540px" border="0" alt="matplotlib"/></a>
184
+{%- endif %}
185
</div>
186
187
{% endblock %}
0 commit comments