File tree 4 files changed +7
-2
lines changed
4 files changed +7
-2
lines changed Original file line number Diff line number Diff line change 435
435
epub_author = 'Python Documentation Authors'
436
436
epub_publisher = 'Python Software Foundation'
437
437
438
+ # index pages are not valid xhtml
439
+ # https://github.com/sphinx-doc/sphinx/issues/12359
440
+ epub_use_index = False
441
+
438
442
# Options for the coverage checker
439
443
# --------------------------------
440
444
Original file line number Diff line number Diff line change @@ -16,7 +16,6 @@ but they are available on most other systems as well. Here's an overview:
16
16
io.rst
17
17
time.rst
18
18
argparse.rst
19
- getopt.rst
20
19
logging.rst
21
20
logging.config.rst
22
21
logging.handlers.rst
Original file line number Diff line number Diff line change 20
20
21
21
22
22
def process_glossary_nodes (app , doctree , fromdocname ):
23
- if app .builder .format != 'html' :
23
+ if app .builder .format != 'html' or app . builder . embedded :
24
24
return
25
25
26
26
terms = {}
Original file line number Diff line number Diff line change 42
42
</ style >
43
43
{{ super() }}
44
44
45
+ {%- if not embedded %}
45
46
< meta name ="readthedocs-addons-api-version " content ="1 ">
46
47
< script type ="text/javascript ">
47
48
function onSwitch ( event ) {
127
128
}
128
129
} ) ;
129
130
</ script >
131
+ {%- endif %}
130
132
{% endblock %}
You can’t perform that action at this time.
0 commit comments