Back to Fish Shell

Layout

doc_src/python_docs_theme/layout.html

4.6.01.8 KB
Original Source

{% extends "basic/layout.html" %} {# Remove broken "genindex" link - unfortunately this takes with it the acceptable "next" and "previous" links, but they're not super necessary. #} {% set rellinks = [] %} {% block rootrellink %}

  • {{theme_root_name}}{{ reldelim1 }} {% if theme_root_include_title %} {{ shorttitle }}{{ reldelim1 }} {% endif %} {% endblock %} {%- macro searchbox() %} {# modified from sphinx/themes/basic/searchbox.html #} {%- if builder != "htmlhelp" %}

{%- endif %} {%- endmacro %} {% block header %} {% endblock %} {% 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() }} {%- endif %} {# This is hidden by default, unhidden by our global shared script. #} This documents an old version of fish. See the latest release. {% endblock %} {# The sidebar goes into the *document* block, so it ends up in the document *div* so it doesn't go over the footer #} {% block document %}{{ sidebar() }}{{ super() }}{% endblock %} {% block sidebar2 %} {% endblock %} {% block extrahead %} {{ super() }} {% endblock %} {% block footer %} © {% trans %}Copyright{% endtrans %} {{ copyright|e }}.
{%- if last_updated %} {% trans last_updated=last_updated|e %}Last updated on {{ last_updated }}.{% endtrans %} {%- endif %} {% if theme_issues_url %}{% trans pathto_bugs=theme_issues_url %}Found a bug?{% endtrans %}{% endif %}
{% trans sphinx_version=sphinx_version|e %}Created using Sphinx {{ sphinx_version }}.{% endtrans %}

{% endblock %}