File tree Expand file tree Collapse file tree 3 files changed +7
-1
lines changed
Expand file tree Collapse file tree 3 files changed +7
-1
lines changed Original file line number Diff line number Diff line change 419419epub_author = 'Python Documentation Authors'
420420epub_publisher = 'Python Software Foundation'
421421
422+ # index pages are not valid xhtml
423+ # https://github.com/sphinx-doc/sphinx/issues/12359
424+ epub_use_index = False
425+
422426# Options for the coverage checker
423427# --------------------------------
424428
Original file line number Diff line number Diff line change 2020
2121
2222def process_glossary_nodes (app , doctree , fromdocname ):
23- if app .builder .format != 'html' :
23+ if app .builder .format != 'html' or app . builder . embedded :
2424 return
2525
2626 terms = {}
Original file line number Diff line number Diff line change 4242 </ style >
4343{{ super() }}
4444
45+ {%- if not embedded %}
4546< meta name ="readthedocs-addons-api-version " content ="1 ">
4647< script type ="text/javascript ">
4748 function onSwitch ( event ) {
127128 }
128129 } ) ;
129130</ script >
131+ {%- endif %}
130132{% endblock %}
You can’t perform that action at this time.
0 commit comments