gh-118689: fix ePub build#118690
Conversation
|
glossary.json caused unknown mimetype error. I don't know when this error starts. Maybe, recent Sphinx become more strict? #116966 introduced JavaScript in ePub. This should be backported into 3.12. #109438 introduced duplicated ToC error. This is Python 3.13 only issue. |
Sorry, something went wrong.
|
With this fix, I can open the epub file with Books.app in macOS. There are many other errors reported by epubcheck. |
Sorry, something went wrong.
|
Remaining errors: $ epubcheck --locale en-US build/epub/Python.epub 2>python-epub-errors.txt https://gist.github.com/methane/03a569934bec14a2b4b2a783f96d01b3 |
Sorry, something went wrong.
|
I found epub_use_index option so I use it to disable index. |
Sorry, something went wrong.
hugovk
left a comment
There was a problem hiding this comment.
Thank you for the fixes.
With this fix, I can open the epub file with Books.app in macOS.
Same here 👍
There are many other errors reported by epubcheck.
This sounds like something we should aim to add to the CI, even if we start with a subset of passing checks.
Thanks also for opening issues in the extensions.
Sorry, something went wrong.
|
Thanks @methane for the PR 🌮🎉.. I'm working now to backport this PR to: 3.12, 3.13. |
Sorry, something went wrong.
(cherry picked from commit 7ac933e) Co-authored-by: Inada Naoki <songofacandy@gmail.com>
(cherry picked from commit 7ac933e) Co-authored-by: Inada Naoki <songofacandy@gmail.com>
📚 Documentation preview 📚: https://cpython-previews--118690.org.readthedocs.build/