|
1 | 1 | {%- extends "basic/layout.html" %} |
2 | 2 |
|
3 | | -{# Do this so that bootstrap is included before the main css file #} |
| 3 | +{# Do this so that Bootstrap is included before the main CSS file. #} |
4 | 4 | {%- block htmltitle %} |
5 | 5 | {% set script_files = script_files + ["_static/myscript.js"] %} |
6 | 6 | <!-- Licensed under the Apache 2.0 License --> |
|
20 | 20 | {{ super() }} |
21 | 21 | {% endblock %} |
22 | 22 |
|
23 | | -{# Displays the URL for the homepage if it's set or the master_doc if it is not #} |
| 23 | +{# Displays the URL for the homepage if it's set, or the master_doc if it is not. #} |
24 | 24 | {% macro homepage() -%} |
25 | 25 | {%- if theme_homepage %} |
26 | 26 | {%- if hasdoc(theme_homepage) %} |
|
33 | 33 | {%- endif %} |
34 | 34 | {%- endmacro %} |
35 | 35 |
|
36 | | -{# Displays the URL for the tospage if it's set or falls back to homepage macro #} |
| 36 | +{# Displays the URL for the tospage if it's set, or falls back to the homepage macro. #} |
37 | 37 | {% macro tospage() -%} |
38 | 38 | {%- if theme_tospage %} |
39 | 39 | {%- if hasdoc(theme_tospage) %} |
|
46 | 46 | {%- endif %} |
47 | 47 | {%- endmacro %} |
48 | 48 |
|
49 | | -{# Displays the URL for the projectpage if it's set or falls back to homepage macro #} |
| 49 | +{# Displays the URL for the projectpage if it's set, or falls back to the homepage macro. #} |
50 | 50 | {% macro projectlink() -%} |
51 | 51 | {%- if theme_projectlink %} |
52 | 52 | {%- if hasdoc(theme_projectlink) %} |
|
59 | 59 | {%- endif %} |
60 | 60 | {%- endmacro %} |
61 | 61 |
|
62 | | -{# Displays the next and previous links both before and after content #} |
| 62 | +{# Displays the next and previous links both before and after the content. #} |
63 | 63 | {% macro render_relations() -%} |
64 | 64 | {% if prev or next %} |
65 | 65 | <div class="footer-relations"> |
|
82 | 82 | <div id="left-column"> |
83 | 83 | <div class="sphinxsidebar"> |
84 | 84 | {%- if sidebars != None %} |
85 | | - {#- new style sidebar: explicitly include/exclude templates #} |
| 85 | + {#- New-style sidebar: explicitly include/exclude templates. #} |
86 | 86 | {%- for sidebartemplate in sidebars %} |
87 | 87 | {%- include sidebartemplate %} |
88 | 88 | {%- endfor %} |
|
0 commit comments