X-Git-Url: http://git.efficios.com/?a=blobdiff_plain;f=doc%2Fbindings%2Fpython%2Fsource%2F_themes%2Fsphinx_rtd_theme%2Flayout.html;fp=doc%2Fbindings%2Fpython%2Fsource%2F_themes%2Fsphinx_rtd_theme%2Flayout.html;h=7ca7aa64482f52c42d602d4731a6899b1fd25ec9;hb=280a121cac46b0ddf6efbcb747efd3e8bca778e5;hp=5f9ef21e24e691b3088e685a5442ac9060a702f9;hpb=4e5f388fcb9d27babc2e2a5bff5c904127a040cf;p=babeltrace.git diff --git a/doc/bindings/python/source/_themes/sphinx_rtd_theme/layout.html b/doc/bindings/python/source/_themes/sphinx_rtd_theme/layout.html index 5f9ef21e..7ca7aa64 100644 --- a/doc/bindings/python/source/_themes/sphinx_rtd_theme/layout.html +++ b/doc/bindings/python/source/_themes/sphinx_rtd_theme/layout.html @@ -6,12 +6,14 @@ {%- else %} {%- set titlesuffix = "" %} {%- endif %} +{%- set lang_attr = 'en' if language == None else (language | replace('_', '-')) %} - - + + + {{ metatags }} {% block htmltitle %} {{ title|striptags|e }}{{ titlesuffix }} @@ -21,9 +23,12 @@ {% if favicon %} {% endif %} + {# CANONICAL URL #} + {% if theme_canonical_url %} + + {% endif %} {# CSS #} - {# OPENSEARCH #} {% if not embedded %} @@ -42,6 +47,10 @@ {% endfor %} + {% for cssfile in extra_css_files %} + + {% endfor %} + {%- block linktags %} {%- if hasdoc('about') %} + + {% block extrabody %} {% endblock %}
{# SIDE NAV, TOGGLES ON MOBILE #}
{# MOBILE NAV, TRIGGLES SIDE NAV ON TOGGLE #} @@ -115,8 +159,13 @@
{% include "breadcrumbs.html" %} -
+
+
{% block body %}{% endblock %} +
+
+ {% block comments %}{% endblock %} +
{% include "footer.html" %}
@@ -133,9 +182,11 @@ var DOCUMENTATION_OPTIONS = { URL_ROOT:'{{ url_root }}', VERSION:'{{ release|e }}', + LANGUAGE:'{{ language }}', COLLAPSE_INDEX:false, FILE_SUFFIX:'{{ '' if no_search_suffix else file_suffix }}', - HAS_SOURCE: {{ has_source|lower }} + HAS_SOURCE: {{ has_source|lower }}, + SOURCELINK_SUFFIX: '{{ sourcelink_suffix }}' }; {%- for scriptfile in script_files %}