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

fix generation of epub (sphinx bug) #3749

Open
wants to merge 4 commits into
base: develop2
Choose a base branch
from
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Update conf.py
memsharded authored Nov 13, 2024
commit aa82282eacfaa743d33ecaaaa50fff1106ff2e05
2 changes: 1 addition & 1 deletion conf.py
Original file line number Diff line number Diff line change
@@ -456,7 +456,7 @@ def copy_legacy_redirects(app, docname): # Sphinx expects two arguments
f.write(html)
def fix_epub_generation(app):
# Ensure there's an epub handler
if "html" in app.registry.translation_handlers
if "html" in app.registry.translation_handlers:
app.registry.translation_handlers["epub"] = app.registry.translation_handlers["html"]

def setup(app):