Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitd718458

Browse files
committed
Revert "Removing custom templates."
This reverts commit70c3d0f.
1 parent2113350 commitd718458

File tree

4 files changed

+119
-0
lines changed

4 files changed

+119
-0
lines changed
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
{% extends "!genindex.html" %}
2+
3+
{% block bodyclass %}{% endblock %}
4+
{% block sidebarwrapper %}{% endblock %}
Lines changed: 109 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,109 @@
1+
{% extends "!layout.html" %}
2+
{%- macro secondnav() %}
3+
{%- if prev %}
4+
&laquo;<ahref="{{ prev.link|e }}"title="{{ prev.title|e }}">previous</a>
5+
{{ reldelim2 }}
6+
{%- endif %}
7+
{%- if parents %}
8+
<ahref="{{ parents.0.link|e }}"title="{{ parents.0.title|e }}"accesskey="U">up</a>
9+
{%- else %}
10+
<atitle="{{ docstitle }}"href="{{ pathto('index') }}"accesskey="U">up</a>
11+
{%- endif %}
12+
{%- if next %}
13+
{{ reldelim2 }}
14+
<ahref="{{ next.link|e }}"title="{{ next.title|e }}">next</a> &raquo;
15+
{%- endif %}
16+
{%- endmacro %}
17+
18+
{% block extrahead %}
19+
<scripttype="text/javascript">
20+
21+
var_gaq=_gaq||[];
22+
_gaq.push(['_setAccount','UA-19815738-1']);
23+
_gaq.push(['_trackPageview']);
24+
25+
(function(){
26+
varga=document.createElement('script');ga.type='text/javascript';ga.async=true;
27+
ga.src=('https:'==document.location.protocol ?'https://ssl' :'http://www')+'.google-analytics.com/ga.js';
28+
vars=document.getElementsByTagName('script')[0];s.parentNode.insertBefore(ga,s);
29+
})();
30+
31+
</script>
32+
{% endblock %}
33+
34+
{% block document %}
35+
<divid="custom-doc"class="{% block bodyclass %}{{ 'yui-t4' if pagename != 'index' else '' }}{% endblock %}">
36+
<divid="hd">
37+
<h1><ahref="{{ pathto('index') }}">{{ docstitle }}</a></h1>
38+
<divid="global-nav">
39+
<atitle="Home page"href="{{ pathto('index') }}">Home</a> {{ reldelim2 }}
40+
<atitle="Table of contents"href="{{ pathto('contents') }}">Table of contents</a> |
41+
<atitle="What's new"href="{{ pathto('whats_new') }}">What's new</a> |
42+
<atitle="Getting started"href="{{ pathto('getting_started') }}">Getting started</a> |
43+
<atitle="Examples"href="{{ pathto('examples') }}">Examples</a> |
44+
<atitle="In depth"href="{{ pathto('in_depth') }}">In depth</a> |
45+
<atitle="Reference"href="{{ pathto('reference') }}">Reference</a>
46+
</div>
47+
<divclass="nav">{{ secondnav() }}</div>
48+
</div>
49+
50+
<divid="bd">
51+
<divid="yui-main">
52+
<divclass="yui-b">
53+
<divclass="yui-g"id="{{ pagename|replace('/', '-') }}">
54+
{% block body %}{% endblock %}
55+
</div>
56+
</div>
57+
</div>
58+
{% block sidebarwrapper %}
59+
{% if pagename != 'index' %}
60+
<divclass="yui-b"id="sidebar">
61+
{{ sidebar() }}
62+
{%- if last_updated %}
63+
<h3>Last update:</h3>
64+
<pclass="topless">{{ last_updated }}</p>
65+
{%- endif %}
66+
</div>
67+
{%- endif %}
68+
{% endblock %}
69+
</div>
70+
71+
<divid="ft">
72+
<divclass="nav">{{ secondnav() }}</div>
73+
</div>
74+
</div>
75+
{% endblock %}
76+
77+
{% block sidebarrel %}
78+
<h3>Browse</h3>
79+
<ul>
80+
{% if prev %}
81+
<li>Prev:<ahref="{{ prev.link }}">{{ prev.title }}</a></li>
82+
{% endif %}
83+
{% if next %}
84+
<li>Next:<ahref="{{ next.link }}">{{ next.title }}</a></li>
85+
{% endif %}
86+
</ul>
87+
<h3>You are here:</h3>
88+
<ul>
89+
<li>
90+
<ahref="{{ pathto('index') }}">{{ docstitle }}</a>
91+
{% for p in parents %}
92+
<ul><li><ahref="{{ p.link }}">{{ p.title }}</a>
93+
{% endfor %}
94+
<ul><li>{{ title }}</li></ul>
95+
{% for p in parents %}</li></ul>{% endfor %}
96+
</li>
97+
</ul>
98+
{% endblock %}
99+
100+
{# Empty some default blocks out #}
101+
{% block relbar1 %}{% endblock %}
102+
{% block relbar2 %}{% endblock %}
103+
{% block sidebar1 %}{% endblock %}
104+
{% block sidebar2 %}{% endblock %}
105+
{% block footer %}
106+
<divclass="footer">
107+
documentation automatically generated by<ahref="http://sphinx.pocoo.org">Sphinx</a> | style mostly stolen from<ahref="http://lettuce.it">lettuce.it</a>
108+
</div>
109+
{% endblock %}
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
{% extends "!modindex.html" %}
2+
{% block bodyclass %}{% endblock %}
3+
{% block sidebarwrapper %}{% endblock %}
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
{% extends "!search.html" %}
2+
{% block bodyclass %}{% endblock %}
3+
{% block sidebarwrapper %}{% endblock %}

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp