Debian Codegraph @

astropy_sphinx_theme/bootstrap-astropy/layout.html

raw
1 {% extends "basic/layout.html" %}
2
3 {%- block scripts %}
4 {{ super() }}
5 <script type="text/javascript" src="{{ pathto('_static/sidebar.js', 1) }}"></script>
6 {% if not embedded %}<script type="text/javascript" src="{{ pathto('_static/copybutton.js', 1) }}"></script>{% endif %}
7 {%- endblock %}
8
9 {# Add the google webfonts needed for the logo #}
10 {% block extrahead %}
11 <link href='https://fonts.googleapis.com/css?family=Source+Sans+Pro:200,600' rel='stylesheet' type='text/css'/>
12 {% endblock %}
13
14 {% block header %}
15 <div class="topbar">
16 <a class="brand" title="{{ _('Documentation Home') }}" href="{{ pathto(master_doc) }}"><span id="logotext1">{{ theme_logotext1 }}</span><span id="logotext2">{{ theme_logotext2 }}</span><span id="logotext3">{{ theme_logotext3 }}</span></a>
17 <ul>
18 {% if theme_astropy_project_menubar == true %}
19 <li>
20 <div class="dropdown">
21 <a href = "#">About</a>
22 <div class="dropdown-content">
23 <ul>
24 <li><a href="http://www.astropy.org/about.html">About Astropy</a></li>
25 <li><a href="http://www.astropy.org/code_of_conduct.html">Code of Conduct</a></li>
26 <li><a href="http://www.astropy.org/acknowledging.html">Acknowledging & Citing</a></li>
27 </ul>
28 </div>
29 </div>
30 </li>
31 <li><a href="http://www.astropy.org/help.html">Get Help</a></li>
32 <li><a href="http://www.astropy.org/contribute.html">Contribute</a></li>
33 <li><a href="http://www.astropy.org/affiliated/index.html">Affiliated Packages</a></li>
34 <li><a href="http://www.astropy.org/team.html">Team</a></li>
35 {% endif %}
36 <li><a class="homelink" title="Astropy Homepage" href="http://www.astropy.org"></a></li>
37 <li><a title="{{ _('General Index') }}" href="{{ pathto('genindex') }}">Index</a></li>
38 <li><a title="{{ _('Module Index') }}" href="{{ pathto('py-modindex') }}">Modules</a></li>
39 <li>
40 {% block sidebarsearch %}
41 {% include "searchbox.html" %}
42 {% endblock %}
43 </li>
44 </ul>
45 </div>
46 {% endblock %}
47
48 {% block relbar1 %}
49 <div class="related">
50 <h3>{{ _('Navigation') }}</h3>
51 <ul>
52 {%- if next %}
53 <li class="right">
54 <a href="{{ next.link|e }}" title="{{ next.title|striptags|e }}">
55 next {{ "&raquo;"|safe }}
56 </a>
57 </li>
58 {%- endif %}
59 {%- if prev %}
60 <li class="right">
61 <a href="{{ prev.link|e }}" title="{{ prev.title|striptags|e }}">
62 {{ "&laquo;"|safe }} previous
63 </a>
64 {% if next %}{{ reldelim2 }}{% endif %}
65 </li>
66 {%- endif %}
67 {%- block rootrellink %}
68 <li>
69 <a href="{{ pathto(master_doc) }}">{{ shorttitle|e }}</a>
70 {{ reldelim1 }}
71 </li>
72 {%- endblock %}
73 {%- for parent in parents %}
74 <li><a href="{{ parent.link|e }}" {% if loop.last %}{{ accesskey("U") }}{% endif %}>{{ parent.title }}</a>{{ reldelim1 }}</li>
75 {%- endfor %}
76 {# Don't put the title in the relbar for the first (index) page. #}
77 {% if prev %}<li>{{ title }}</li>{% endif %}
78 {%- block relbaritems %} {% endblock %}
79 </ul>
80 </div>
81 {% endblock %}
82
83 {# Silence the bottom relbar. #}
84 {% block relbar2 %}{% endblock %}
85
86
87 {%- block footer %}
88 <footer class="footer">
89 <p class="pull-right">
90 {%- if edit_on_github %}
91 <a href="{{ edit_on_github }}">{{ edit_on_github_page_message }}</a> &nbsp;
92 {%- endif %}
93 {%- if show_source and has_source and sourcename %}
94 <a href="{{ pathto('_sources/' + sourcename, true)|e }}"
95 rel="nofollow">{{ _('Page Source') }}</a>
96 {%- endif %} &nbsp;
97 <a href="#">Back to Top</a></p>
98 <p>
99 {%- if show_copyright %}
100 {%- if hasdoc('copyright') %}
101 {% trans path=pathto('copyright'), copyright=copyright|e %}&copy; <a href="{{ path }}">Copyright</a> {{ copyright }}.{% endtrans %}<br/>
102 {%- else %}
103 {% trans copyright=copyright|e %}&copy; Copyright {{ copyright }}.{% endtrans %}<br/>
104 {%- endif %}
105 {%- endif %}
106 {%- if show_sphinx %}
107 {% trans sphinx_version=sphinx_version|e %}Created using <a href="http://www.sphinx-doc.org/en/stable/">Sphinx</a> {{ sphinx_version }}.{% endtrans %} &nbsp;
108 {%- endif %}
109 {%- if last_updated %}
110 {% trans last_updated=last_updated|e %}Last built {{ last_updated }}.{% endtrans %} <br/>
111 {%- endif %}
112 </p>
113 </footer>
114 {%- endblock %}