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

pdfbuilder: Add supported_image_types attribute #1201

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

castler
Copy link

@castler castler commented Apr 3, 2024

According to the Sphinx documentation Builders should include an attribute supported_image_types, that lists which images types can be used by this builder.

https://www.sphinx-doc.org/en/master/extdev/builderapi.html#sphinx.builders.Builder

Other plugins rely on this behavior.

By specifying the list of image types, we ensure that the API exposes the capabilities correclty (since rst2pdf has image support).

According to the Sphinx documentation Builders should include an
attribute `supported_image_types`, that lists which images types
can be used by this builder.

https://www.sphinx-doc.org/en/master/extdev/builderapi.html#sphinx.builders.Builder

Other plugins rely on this behavior.

By specifying the list of image types, we ensure that the API exposes
the capabilities correclty (since rst2pdf has image support).
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.

None yet

1 participant