diff options
author | Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> | 2024-05-10 10:40:35 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-05-10 10:40:35 (GMT) |
commit | 760b3f08dc9932d1595982b527c3bd187681ff49 (patch) | |
tree | a3fa954a3bfafd8b208a6d757e61b695fbdd7967 /Doc/tools/extensions | |
parent | d524802e9dd624f569948c4c0b6adbe000edcffe (diff) | |
download | cpython-760b3f08dc9932d1595982b527c3bd187681ff49.zip cpython-760b3f08dc9932d1595982b527c3bd187681ff49.tar.gz cpython-760b3f08dc9932d1595982b527c3bd187681ff49.tar.bz2 |
gh-118689: Doc: fix ePub build (GH-118690)
(cherry picked from commit 7ac933e2609b2ef9b08ccf9c815b682b0e1ede2a)
Co-authored-by: Inada Naoki <songofacandy@gmail.com>
Diffstat (limited to 'Doc/tools/extensions')
-rw-r--r-- | Doc/tools/extensions/glossary_search.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/tools/extensions/glossary_search.py b/Doc/tools/extensions/glossary_search.py index 59a6862..2327820 100644 --- a/Doc/tools/extensions/glossary_search.py +++ b/Doc/tools/extensions/glossary_search.py @@ -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 = {} |