mirror of
https://github.com/python/cpython.git
synced 2025-11-01 18:51:43 +00:00
gh-118689: Doc: fix ePub build (#118690)
This commit is contained in:
parent
7cc5e81a82
commit
7ac933e260
4 changed files with 7 additions and 2 deletions
|
|
@ -20,7 +20,7 @@ JSON = 'glossary.json'
|
|||
|
||||
|
||||
def process_glossary_nodes(app, doctree, fromdocname):
|
||||
if app.builder.format != 'html':
|
||||
if app.builder.format != 'html' or app.builder.embedded:
|
||||
return
|
||||
|
||||
terms = {}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue