File tree Expand file tree Collapse file tree 1 file changed +16
-16
lines changed Expand file tree Collapse file tree 1 file changed +16
-16
lines changed Original file line number Diff line number Diff line change 11{#
2- Customization of sphinx's basic/localtoc.html
2+ Customization of sphinx's basic/localtoc.html
33
4- - When present, display links to the parent pages within sections,
5- rather than link to the global contents
6- - When parents are absent, display a link to the document root using the docstitle
4+ - When present, display links to the parent pages within sections,
5+ rather than link to the global contents
6+ - When parents are absent, display a link to the document root using the docstitle
77#}
8- < div >
9- < div >
8+ < div >
9+ < div >
1010{%- if parents %}
1111{%- for parent in parents %}
12- < h {{ loop.index0 + 3 }} >
13- < a href ="{{ parent.link|e }} "
14- title ="{{ parent.title }} ">
15- {{ parent.title }}
16- </ a >
17- </ h {{ loop.index0 + 3 }}>
12+ < h {{ loop.index0 + 3 }} >
13+ < a href ="{{ parent.link|e }} "
14+ title ="{{ parent.title }} ">
15+ {{ parent.title }}
16+ </ a >
17+ </ h {{ loop.index0 + 3 }}>
1818{%- endfor %}
1919{%- else %}
20- < h3 > < a href ="{{ pathto(root_doc)|e }} "> {{ docstitle|e }}</ a > </ h3 >
20+ < h3 > < a href ="{{ pathto(root_doc)|e }} "> {{ docstitle|e }}</ a > </ h3 >
2121{%- endif %}
22- </ div >
23- {{ toc }}
24- </ div >
22+ </ div >
23+ {{ toc }}
24+ </ div >
You can’t perform that action at this time.
0 commit comments