Skip to content

Conversation

cgohlke
Copy link
Contributor

@cgohlke cgohlke commented Jun 3, 2016

HTML Help and Latex output do not support SVG.
See also #5653 (comment) and http://www.sphinx-doc.org/en/stable/builders.html.
Tested with HTML Help on Windows.

@tacaswell tacaswell added this to the 1.5.2 (Critical bug fix release) milestone Jun 3, 2016
@@ -177,8 +177,11 @@
</map>

<div style="background-color: white; text-align: left; padding: 10px 10px 15px 15px">
<a href="{{ pathto('index') }}"><img src="{{
pathto("_static/logo2.svg", 1) }}" width="540px" border="0" alt="matplotlib"/></a>
{%- if builder in ('htmlhelp', 'devhelp', 'latex') %}
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Would it be easier to check if image/svg+xml is in builder.supported_image_types?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oh, that's too bad; seems like it would have been more future-proof that way.

@tacaswell tacaswell merged commit ec276e2 into matplotlib:v1.5.x Jun 5, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants