Skip to content
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 our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Epub: Add WebP mime type #10443

Merged
merged 2 commits into from May 22, 2022
Merged

Epub: Add WebP mime type #10443

merged 2 commits into from May 22, 2022

Conversation

Blendify
Copy link
Contributor

When building docs with WebP images using the EPUB builder results in this warning:

WARNING: unknown mimetype for _images/<image_name>.webp, ignoring

This commit fixes this by adding the mapping for webp-files to the correct mime type.

tk0miya and others added 2 commits May 9, 2022 00:57
When building docs with WebP images using the EPUB builder results in this warning:

`WARNING: unknown mimetype for _images/<image_name>.webp, ignoring`

This commit fixes this by adding the mapping for webp-files to the correct mime type.
@AA-Turner
Copy link
Member

This would need a test case, ideally.

A

@tk0miya tk0miya added this to the 5.0.0 milestone May 14, 2022
@tk0miya tk0miya changed the base branch from 5.x to 5.0.x May 14, 2022 06:27
Copy link
Member

@tk0miya tk0miya left a comment

Choose a reason for hiding this comment

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

LGTM. To ship this as v5.0.0, could you rebase this into the 5.0.x branch, please? Then I'll merge this soon.

@tk0miya
Copy link
Member

tk0miya commented May 14, 2022

I think this is a data mapping. So testing is not needed.

@AA-Turner
Copy link
Member

I was more thinking a simple regression test that WebP is accepted, rather than anything fancier.

A

@tk0miya
Copy link
Member

tk0miya commented May 15, 2022

+0 for adding a test.

@tk0miya
Copy link
Member

tk0miya commented May 22, 2022

It seems 5.0.x branch is already broken (it contains a commit for 5.1). So I'll fix it after merging this.
Thank you for your contribution.

@tk0miya tk0miya merged commit 712d755 into sphinx-doc:5.0.x May 22, 2022
tk0miya added a commit that referenced this pull request May 22, 2022
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jun 22, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants