-
-
Notifications
You must be signed in to change notification settings - Fork 31
Open
Description
Recently CPython's conf.py
replaced self-closing tags with simpler, HTML5 ones. It broke EPUB builds as those are not XHTML-compatible.
Could sphinxext-opengraph
rewrite custom meta tags to self-closing for EPUB builder?
Alternatives: (1) could sphinxext-opengraph
disable custom meta tags for EPUB builder (or allow it through config)? Or: (2) could sphinxext-opengraph
disable adding all tags to the layout for EPUB builder (or allow disabling it for EPUB builder through config)?
Metadata
Metadata
Assignees
Labels
No labels
Projects
Milestone
Relationships
Development
Select code repository
Activity
AA-Turner commentedon May 15, 2025
PR welcome
m-aciek commentedon Jul 10, 2025
In the meantime we started to skip custom tags for EPUB builds in CPython docs. Though
og:description
and<
character inside it is causing failures for 8 (random) chapters. Would it be possible to merge #137?@AA-Turner if you'd use some help with maintenance, could you possibly grant @TheTripleV with the permissions to merge and/or release?
PS, update: It looks like escaping HTML should work as well (render correct previews).
PPS,
update: it looks like escaping HTML won't work.update: I've corrected the (1st) PS adding a linkAA-Turner commentedon Jul 10, 2025
It looks like Vasista should have merge permissions: