reword some comments
This commit is contained in:
parent
8beab6ba56
commit
fc1015b986
5
conf.py
5
conf.py
@ -164,9 +164,8 @@ html_favicon = os.path.join(html_theme_path[0], html_theme, 'static', 'img', 'fa
|
|||||||
html_static_path = ['static']
|
html_static_path = ['static']
|
||||||
html_add_permalinks = '¶' # Sphinx < 3.5
|
html_add_permalinks = '¶' # Sphinx < 3.5
|
||||||
html_permalinks = True # Sphinx >= 3.5
|
html_permalinks = True # Sphinx >= 3.5
|
||||||
# Additional css & js files:
|
# Additional JS & CSS files that can be imported with the 'custom-js' and 'custom-css' metadata.
|
||||||
# Empty because the js & css files are specified in the extensions/theme
|
# Lists are empty because the files are specified in extensions/themes.
|
||||||
# or specified for a given page only through the custom-js & custom-css metadata directives
|
|
||||||
html_js_files = []
|
html_js_files = []
|
||||||
html_css_files = []
|
html_css_files = []
|
||||||
|
|
||||||
|
@ -58,7 +58,7 @@
|
|||||||
{% include "layout_templates/menu.html" %}
|
{% include "layout_templates/menu.html" %}
|
||||||
</nav>
|
</nav>
|
||||||
</noscript>
|
</noscript>
|
||||||
{# shown when js has properly set all the classes on the toc elements #}
|
{# Shown when the JS has properly set all the classes on the TOC elements #}
|
||||||
<nav id="o_main_toctree" class="o_side_nav border-end" hidden>
|
<nav id="o_main_toctree" class="o_side_nav border-end" hidden>
|
||||||
{% include "layout_templates/menu.html" %}
|
{% include "layout_templates/menu.html" %}
|
||||||
</nav>
|
</nav>
|
||||||
@ -105,7 +105,10 @@
|
|||||||
{% block body %} {% endblock %}
|
{% block body %} {% endblock %}
|
||||||
</div>
|
</div>
|
||||||
{% if github_link and pagename != 'search' %}
|
{% if github_link and pagename != 'search' %}
|
||||||
<a href="{{ github_link(mode='edit') }}" class="o_git_link d-none d-lg-inline-block"><i class="i-edit"></i> Edit on GitHub</a>
|
<a href="{{ github_link(mode='edit') }}"
|
||||||
|
class="o_git_link d-none d-lg-inline-block">
|
||||||
|
<i class="i-edit"></i> Edit on GitHub
|
||||||
|
</a>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
</article>
|
</article>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
@ -93,7 +93,7 @@ class BootstrapTranslator(HTML5Translator):
|
|||||||
self.body.append(u'[UNKNOWN NODE {}]'.format(node.__class__.__name__))
|
self.body.append(u'[UNKNOWN NODE {}]'.format(node.__class__.__name__))
|
||||||
raise nodes.SkipNode
|
raise nodes.SkipNode
|
||||||
|
|
||||||
# VFE NOTE: seems that when we remove/comment this, we get the titles 5 timesin the global toc :D
|
# NOTE: seems that when we remove/comment this, we get the titles 5 times in the global toc
|
||||||
def visit_document(self, node):
|
def visit_document(self, node):
|
||||||
self.first_title = True
|
self.first_title = True
|
||||||
def depart_document(self, node):
|
def depart_document(self, node):
|
||||||
|
Loading…
Reference in New Issue
Block a user