Skip to content

Commit

Permalink
Ignore non html builders
Browse files Browse the repository at this point in the history
  • Loading branch information
ammaraskar committed Feb 10, 2019
1 parent 7738c75 commit 569acf7
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Doc/tools/extensions/glossary_search.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,9 @@


def process_glossary_nodes(app, doctree, fromdocname):
if app.builder.format != 'html':
return

terms = {}

for node in doctree.traverse(glossary):
Expand Down

0 comments on commit 569acf7

Please sign in to comment.