summaryrefslogtreecommitdiff
path: root/sandbox/py-rest-doc/sphinx/templates/layout.html
blob: 515b3a2226ef126e775c4b3097a1c00afcfe3388 (plain)
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
{% if builder != 'htmlhelp' %}{% set titlesuffix = " — Python Documentation" %}{% endif -%}
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
  "http://www.w3.org/TR/html4/loose.dtd">
<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
    <title>{{ title|striptags }}{{ titlesuffix }}</title>
    {%- if builder == 'web' %}
    <link rel="stylesheet" href="{{ pathto('index.rst') }}?do=stylesheet{%
      if in_admin_panel %}&admin=yes{% endif %}" type="text/css">
    {%- for link, type, title in page_links %}
    <link rel="alternate" type="{{ type|e(true) }}" title="{{ title|e(true) }}" href="{{ link|e(true) }}">
    {%- endfor %}
    {%- else %}
    <link rel="stylesheet" href="{{ pathto('style/default.css', 1) }}" type="text/css">
    <link rel="stylesheet" href="{{ pathto('style/pygments.css', 1) }}" type="text/css">
    {%- endif %}
    <script type="text/javascript">
      var DOCUMENTATION_OPTIONS = {
        URL_ROOT:   '{{ pathto("", 1) }}',
        VERSION:    '{{ release }}'
      };
    </script>
    <script type="text/javascript" src="{{ pathto('style/jquery.js', 1) }}"></script>
    <script type="text/javascript" src="{{ pathto('style/interface.js', 1) }}"></script>
    <script type="text/javascript" src="{{ pathto('style/doctools.js', 1) }}"></script>
    <link rel="author" title="About these documents" href="{{ pathto('about.rst') }}">
    <link rel="contents" title="Global table of contents" href="{{ pathto('contents.rst') }}">
    <link rel="index" title="Global index" href="{{ pathto('genindex.rst') }}">
    <link rel="search" title="Search" href="{{ pathto('search.rst') }}">
    <link rel="copyright" title="Copyright" href="{{ pathto('copyright.rst') }}">
    <link rel="top" title="Python Documentation" href="{{ pathto('index.rst') }}">
    {%- if parents %}
    <link rel="up" title="{{ parents[-1].title|striptags }}" href="{{ parents[-1].link|e }}">
    {%- endif %}
    {%- if next %}
    <link rel="next" title="{{ next.title|striptags }}" href="{{ next.link|e }}">
    {%- endif %}
    {%- if prev %}
    <link rel="prev" title="{{ prev.title|striptags }}" href="{{ prev.link|e }}">
    {%- endif %}
    {% block head %}{% endblock %}
  </head>
  <body>
    <div class="related">
      <h3>Navigation</h3>
      <ul>
        <li class="right" style="margin-right: 10px"><a href="{{ pathto('genindex.rst') }}" title="General Index">index</a></li>
        <li class="right"><a href="{{ pathto('modindex.rst') }}" title="Global Module Index">modules</a> |</li>
        {%- if next %}
          <li class="right"><a href="{{ next.link|e }}" title="{{ next.title|striptags }}">next</a> |</li>
        {%- endif %}
        {%- if prev %}
          <li class="right"><a href="{{ prev.link|e }}" title="{{ prev.title|striptags }}">previous</a> |</li>
        {%- endif %}
        {%- if builder == 'web' %}
          <li class="right"><a href="{{ pathto('settings.rst') }}"
                               title="Customize your viewing settings">settings</a> |</li>
        {%- endif %}
        <li><a href="{{ pathto('index.rst') }}">Python v{{ release }} Documentation</a> &raquo;</li>
        {%- for parent in parents %}
          <li><a href="{{ parent.link|e }}">{{ parent.title }}</a> &raquo;</li>
        {%- endfor %}
      </ul>
    </div>
    <div class="document">
      <div class="documentwrapper">
        {%- if builder != 'htmlhelp' %}
        <div class="bodywrapper">
        {%- endif %}
          <div class="body">
            {% block body %}{% endblock %}
          </div>
        {%- if builder != 'htmlhelp' %}
        </div>
        {%- endif %}
      </div>
      {%- if builder != 'htmlhelp' %}
      {%- include "sidebar.html" %}
      {%- endif %}
      <div class="clearer"></div>
    </div>
    <div class="footer">
      &copy; <a href="{{ pathto('copyright.rst') }}">Copyright</a>
      1990-2007, Python Software Foundation.
      {% if last_updated %}Last updated on {{ last_updated }}.{% endif %}
    </div>
  </body>
</html>