epub_author = 'Python Documentation Authors'
epub_publisher = 'Python Software Foundation'
+# index pages are not valid xhtml
+# https://github.com/sphinx-doc/sphinx/issues/12359
+epub_use_index = False
+
# Options for the coverage checker
# --------------------------------
def process_glossary_nodes(app, doctree, fromdocname):
- if app.builder.format != 'html':
+ if app.builder.format != 'html' or app.builder.embedded:
return
terms = {}