Back to Kbengine

Layout

kbe/src/lib/python/Doc/tools/templates/layout.html

2.5.121.7 KB
Original Source

{% extends "!layout.html" %} {% block rootrellink %}

  • Python{{ reldelim1 }}
  • {%- if switchers is defined %} {{ language or 'en' }}{{ release }}{% trans %}Documentation {% endtrans %}{{ reldelim1 }} {%- else %} {{ shorttitle }}{{ reldelim1 }} {%- endif %} {% endblock %} {%- macro searchbox() %} {# modified from sphinx/themes/basic/searchbox.html #} {%- if builder != "htmlhelp" %}

{%- endif %} {%- endmacro %} {% block relbar1 %} {% if builder != 'qthelp' %} {{ relbar() }} {% endif %} {% endblock %} {% block relbar2 %} {% if builder != 'qthelp' %} {{ relbar() }} {% endif %} {% endblock %} {% block relbaritems %} {%- if pagename != "search" and builder != "singlehtml" and builder != "htmlhelp" %} - {{ searchbox() }} {{ reldelim2 }} {%- endif %} {% endblock %} {% block extrahead %} {% if builder != "htmlhelp" %} {% if not embedded %}{% endif %} {% if switchers is defined and not embedded %}{% endif %} {% if pagename == 'whatsnew/changelog' and not embedded %} {% endif %} {% endif %} {# custom CSS; used in asyncio docs! #} {{ super() }} {% endblock %} {% block footer %} © {% trans %}Copyright{% endtrans %} {{ copyright|e }}.
{% trans %}The Python Software Foundation is a non-profit corporation.{% endtrans %} {% trans %}Please donate.{% endtrans %}
{% trans last_updated=last_updated|e %}Last updated on {{ last_updated }}.{% endtrans %} {% trans pathto_bugs=pathto('bugs') %}Found a bug?{% endtrans %}
{% trans sphinx_version=sphinx_version|e %}Created using Sphinx {{ sphinx_version }}.{% endtrans %} {% endblock %}