File: layout.html

package info (click to toggle)
matplotlib 3.3.4-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 78,264 kB
  • sloc: python: 123,969; cpp: 57,655; ansic: 29,431; objc: 2,244; javascript: 757; makefile: 163; sh: 111
file content (97 lines) | stat: -rw-r--r-- 3,526 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
{% extends "!layout.html" %}

{%- block rootrellink %}
        <li><a href="{{ pathto('index') }}">home</a>|&nbsp;</li>
        <li><a href="{{ pathto('contents') }}">contents</a> &raquo;</li>
{%- endblock %}


{%- block relbar1 %}{{ relbar() }}{% endblock %}
{%- block relbar2 %}{% endblock %}

{%- block linktags %}
{{ super() }}
<link rel="top" title="{{ docstitle }}" href="#" />
{%- if '+' in release %}
    <link rel="canonical" href="https://matplotlib.org/devdocs/{{pagename}}.html" />
{%- else %}
    <link rel="canonical" href="https://matplotlib.org/{{version}}/{{pagename}}.html" />
{%- endif %}
{%- endblock %}

{%- block header %}
{{super()}}
{%- if '+' in release %}
<div id="unreleased-message">
    You are reading documentation for the unreleased version of Matplotlib.
    <a href="https://matplotlib.org/search.html?q={{ title | striptags | urlencode }}&amp;check_keywords=yes&amp;area=default">
        Try searching for the released version of this page instead?
    </a>
</div>

{%- endif %}

<!--
<div id="annc-banner">

</div>
-->

<div style="background-color: white; text-align: left; padding: 10px 10px 15px 15px; position: relative;">
    {%- if builder in ('htmlhelp', 'devhelp', 'latex') %}
    <a href="{{ pathto('index') }}">
        <div style="float: left; position: absolute; width: 496px; bottom: 0; padding-bottom: 24px"><span style="float: right; color: #789; background: white">Version {{ version|e }}</span></div>
        <img src="{{pathto("_static/logo2.png", 1) }}" height="125px" border="0" alt="matplotlib"/></a>
    {%- else %}
    <a href="{{ pathto('index') }}">
        <div style="float: left; position: absolute; width: 496px; bottom: 0; padding-bottom: 24px"><span style="float: right; color: #789; background: white">Version {{ version|e }}</span></div>
        <img src="{{pathto("_static/logo2_compressed.svg", 1) }}" height="125px" border="0" alt="matplotlib"/></a>
    {%- endif %}

    </div>

    <nav class="main-nav">
        <ul>
            <li><a href="{{ pathto('users/installing') }}">Installation</a></li>
            <li><a href="{{ pathto('contents') }}">Documentation</a></li>
            <li><a href="{{ pathto('gallery/index') }}">Examples</a></li>
            <li><a href="{{ pathto('tutorials/index') }}">Tutorials</a></li>
            <li><a href="{{ pathto('devel/index') }}">Contributing</a></li>
            <li class="nav-right">
                <form class="search" action="{{ pathto('search') }}" method="get">
                <input type="text" name="q" aria-labelledby="searchlabel" placeholder="Search"/>
                </form>
            </li>
        </ul>
     </nav>
{%- endblock %}

{%- block sidebar1 %}{{ sidebar() }}{% endblock %}
{%- block sidebar2 %}{% endblock %}

{%- block footer %}
<footer>
    <div class="footer">
{%- if show_copyright %}
{%- if hasdoc('copyright') %}
    {% trans path=pathto('copyright'), copyright=copyright|e %}&copy; <a
href="{{ path }}">Copyright</a> {{ copyright }}.{% endtrans %}
{%- else %}
    {% trans copyright=copyright|e %}&copy; Copyright {{ copyright }}.{%
endtrans %}
{%- endif %}
{%- endif %}
<br />
{%- if last_updated %}
    {% trans last_updated=last_updated|e %}Last updated on {{ last_updated }}.{% endtrans %}
{%- endif %}
{%- if show_sphinx %}
{% trans sphinx_version=sphinx_version|e %}Created using
<a href="http://sphinx-doc.org/">Sphinx</a> {{ sphinx_version }}.{% endtrans %}
{%- endif %}
{%- if sha %}
Doc version {{ sha }}.
{%- endif %}
    </div>
</footer>
{%- endblock %}