Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

DOC: add PNG logo fallback for Shinx builders not supporting SVG#6532

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
tacaswell merged 2 commits intomatplotlib:v1.5.xfromcgohlke:patch-2
Jun 5, 2016
Merged

Conversation

@cgohlke
Copy link
Contributor

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

@tacaswelltacaswell added this to the1.5.2 (Critical bug fix release) milestoneJun 3, 2016
<divstyle="background-color: white; text-align: left; padding: 10px 10px 15px 15px">
<ahref="{{ pathto('index') }}"><imgsrc="{{
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 ifimage/svg+xml is inbuilder.supported_image_types?

Copy link
ContributorAuthor

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.

@tacaswelltacaswell merged commitec276e2 intomatplotlib:v1.5.xJun 5, 2016
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

No reviews

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

v1.5.2

Development

Successfully merging this pull request may close these issues.

4 participants

@cgohlke@QuLogic@mdboom@tacaswell

[8]ページ先頭

©2009-2025 Movatter.jp