Skip to content

fix generation of epub (sphinx bug)#3749

Open
memsharded wants to merge 4 commits into
conan-io:develop2from
memsharded:fix/epub
Open

fix generation of epub (sphinx bug)#3749
memsharded wants to merge 4 commits into
conan-io:develop2from
memsharded:fix/epub

Conversation

@memsharded

Copy link
Copy Markdown
Member

Close #3747

@snikulov

Copy link
Copy Markdown

@memsharded I'm able to create epub with this change

@memsharded

memsharded commented Jun 17, 2024

Copy link
Copy Markdown
Member Author

Did you check the contents?
When @AbrilRBS tried with this, it was generated but broken.

@snikulov

Copy link
Copy Markdown

No. I haven't checked it thoroughly. Will do it soon.

@snikulov

snikulov commented Jul 8, 2024

Copy link
Copy Markdown

@memsharded I'm not sure it's broken. Reader able to open it, But sometimes you can find some formatting (???) issues like following
image

Comment thread conf.py Outdated
Co-authored-by: Abril Rincón Blanco <git@rinconblanco.es>
@memsharded

Copy link
Copy Markdown
Member Author

Accepting @AbrilRBS modification, in case you want to give it a try too @snikulov
Thanks!

Comment thread conf.py Outdated

def fix_epub_generation(app):
# Ensure there's an epub handler
if "html" in app.registry.translation_handlers

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

missing :?

Comment thread conf.py Outdated
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.

failed to generate epub file on release/2.3 branch

4 participants