File: 0001-Use-documentation-template-from-0.5.patch

package info (click to toggle)
pyevolve 0.6~rc1%2Bsvn398%2Bdfsg-9
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 3,060 kB
  • ctags: 832
  • sloc: python: 5,119; xml: 183; sh: 71; makefile: 38
file content (267 lines) | stat: -rw-r--r-- 8,133 bytes parent folder | download | duplicates (4)
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
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
From: Christian Kastner <debian@kvr.at>
Date: Thu, 20 May 2010 21:14:01 +0200
Subject: [PATCH] Use documentation template from 0.5

The documentation template for 0.6 makes heavy use of Javascript, especially in
menus. The template from 0.5 will generate a simpler form which should work
fine with any viewer capable of rendering HTML. Upstream has confirmed that
this approach is OK.

Forwarded: no
Last-Update: 2010-05-20
---
 docs/source/.static/default_patch.css |   54 +------------
 docs/source/.templates/layout.html    |  144 ++++-----------------------------
 docs/source/conf.py                   |    1 +
 3 files changed, 19 insertions(+), 180 deletions(-)

diff --git a/docs/source/.static/default_patch.css b/docs/source/.static/default_patch.css
index c199470..1e36cfb 100644
--- a/docs/source/.static/default_patch.css
+++ b/docs/source/.static/default_patch.css
@@ -5,63 +5,16 @@
 body {
     font-family: sans-serif;
     font-size: 100%;
-    background-color: #11303D;
+    background-color: #11303d;
     color: #000;
     margin: 0;
     padding: 0;
 }
 
-.ttip {
-	border-bottom: 1px dotted #BBBBBB;
-	color: #A64E15;
-	font-style: italic;
-	cursor: help;
-}
-
-.tip {
-	font-size: 75%;
-	width: 212px;
-	padding-top: 30px;
-	display: none;
-	position: absolute;
-	background: transparent url(tip_images/tipTop.png) no-repeat top;
-}
-
-.tipMid {background: transparent url(tip_images/tipMid.png) repeat-y; padding: 0 25px 20px 25px;}
-.tipBtm {background: transparent url(tip_images/tipBtm.png) no-repeat bottom; height: 32px;}
-
 /* :::: LAYOUT :::: */
 
-#contents { width:750px; font-family:Georgia, Times, serif; /* font-size:15px; */}
-#contents ul { /*list-style: none; */}
-#contents ul li { }
-#contents ul li a { display:block; text-decoration:none; line-height:30px;
-	border-bottom-style:solid; border-bottom-width:1px; border-bottom-color:#CCCCCC; padding-left:5px; cursor:pointer; }
-#contents ul li a:hover { color:#FFFFFF; background-image:url(hover.png); background-repeat:repeat-x; }
-#contents ul li a strong { margin-right:5px; }
-
-#extraDiv2 {
-	background-image: url(bottom.png);
-	background-repeat: no-repeat;
-	background-position: right;
-	height: 60px;
-	width: 100%;
-	position: fixed;
-	bottom: 0px;
-	z-index: 5;
-}
-
 div.document {
-    background-color: #005C8A; /*#155146;*/
-}
-
-.inheritance {
-	border-style: hidden;
-}
-
-.graphviz {
-	border-style: hidden;
-    text-align: center;
+    background-color: #1c4e63;
 }
 
 div.documentwrapper {
@@ -95,7 +48,6 @@ div.clearer {
 
 div.footer {
     color: #fff;
-	background-color: #363636;
     width: 100%;
     padding: 9px 0 9px 0;
     text-align: center;
@@ -108,7 +60,7 @@ div.footer a {
 }
 
 div.related {
-    background-color: #000000 /*#133f52*/;
+    background-color: #133f52;
     color: #fff;
     width: 100%;
     line-height: 30px;
diff --git a/docs/source/.templates/layout.html b/docs/source/.templates/layout.html
index 6880aef..fae9bec 100644
--- a/docs/source/.templates/layout.html
+++ b/docs/source/.templates/layout.html
@@ -1,129 +1,15 @@
-{% extends "!layout.html" %}
-
-{% block extrahead %}
-{{ super() }}
-
-<!-- Remove it for the htmlhelp chm -->
-<!-- script type="text/javascript" src="_static/jquery.js"></script -->
-<link type="text/css" href="_static/fg.menu.css" media="screen" rel="stylesheet" />
-<link type="text/css" href="_static/theme/ui.all.css" media="screen" rel="stylesheet" />
-<link rel="stylesheet" href="_static/nivo-slider.css" type="text/css" media="screen" />
-
-<script type="text/javascript" src="_static/fg.menu.js"></script>
-<script type="text/javascript" src="_static/jquery.betterTooltip.js"></script>
-<script src="_static/jquery.nivo.slider.pack.js" type="text/javascript"></script>
-
-	<style type="text/css">
-	.hidden { position:absolute; top:0; left:-9999px; width:1px; height:1px; overflow:hidden; }
-	.ui-widget-content { font-size:0.9em; }
-
-	.fg-button {
-		clear:left;
-		margin:0 4px 40px 20px;
-		padding:.4em 1em;
-		text-decoration:none !important;
-		cursor:pointer;
-		position:relative;
-		text-align:center;
-		font-size:0.8em;
-		zoom:1;
-	}
-
-	.fg-button .ui-icon { position: absolute; top: 50%; margin-top: -8px; left: 50%; margin-left: -8px; }
-/*	a.fg-button { float:left;  }*/
-	button.fg-button { width:auto; overflow:visible; }
-	
-	.fg-button-icon-left { padding-left: 2.1em; }
-	.fg-button-icon-right { padding-right: 2.1em; }
-	.fg-button-icon-left .ui-icon { right: auto; left: .2em; margin-left: 0; }
-	.fg-button-icon-right .ui-icon { left: auto; right: .2em; margin-left: 0; }
-	.fg-button-icon-solo { display:block; width:8px; text-indent: -9999px; }	
-	</style>
-	
-	<!-- style exceptions for IE 6 -->
-	<!--[if IE 6]>
-	<style type="text/css">
-		.fg-menu-ipod .fg-menu li { width: 95%; }
-		.fg-menu-ipod .ui-widget-content { border:0; }
-	</style>
-	<![endif]-->	
-
-
-<script type="text/javascript">
-  var _gaq = _gaq || [];
-  _gaq.push(['_setAccount', 'UA-7117443-1']);
-  _gaq.push(['_trackPageview']);
-
-  (function() {
-    var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
-    ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
-    (document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(ga);
-  })();
-</script>
-
-<script type="text/javascript">    
-	$(document).ready(function(){
-    	$('.fg-button').hover(
-    		function(){ $(this).removeClass('ui-state-default').addClass('ui-state-focus'); },
-    		function(){ $(this).removeClass('ui-state-focus').addClass('ui-state-default'); }
-    	);
-
-		$('#hierarchybreadcrumb').menu({
-			content: $('#upper-menu-items').html(),
-			width: 200,
-			maxHeight: 300
-		});
-
-		$('.ttip').betterTooltip({speed: 200, delay: 50});
-		$('#slider').nivoSlider();
-
-    });
-</script>
-
-{% endblock %}
-
-{% block sidebarlogo %}
-<p align="center">
-<a href="http://del.icio.us/post?url=http://pyevolve.sourceforge.net" target="_blank">
-	<img src="_static/delicious_icon.png" border="0">
-</a>
-
-<a href="http://digg.com/submit?url=http://pyevolve.sourceforge.net" target="_blank">
-	<img src="_static/digg_icon.png"  border="0">
-</a>
-
-<a href="http://www.reddit.com/submit?resubmit=true&url=http%3A%2F%2Fpyevolve.sourceforge.net%2F" target="_blank">
-	<img src="_static/reddit_icon.png" border="0">
-</a>
-
-</p>
-<br>
-{% endblock %}
-
-{% block footer %}
-{{ super() }}
-<div id="extraDiv2"><span></span></div>
-{% endblock %}
-
-{% block rootrellink %}
-{{ super() }}
- <li class="right">
-<div id="upper-menu">
-<a tabindex="0" href="#upper-menu-items" class="fg-button fg-button-icon-right ui-widget ui-state-default ui-corner-all" id="hierarchybreadcrumb">
-	<span class="ui-icon ui-icon-triangle-1-s"></span>
-	Pyevolve Menu
-</a>
-
-<div id="upper-menu-items" class="hidden">
-<ul>
-	<a href="{{ pathto(master_doc) }}"><li>Main Index</li></a>
-	<li><a href="http://pyevolve.sourceforge.net/wordpress">Pyevolve Blog</a></li>
-	<li><a href="http://sourceforge.net/apps/trac/pyevolve">Trac System</a></li>
-	<li><a href="http://groups.google.com/group/pyevolve">Mail-list</a>
-</ul>
-</div>
-
-</div>
-</li>
-
-{% endblock %}
\ No newline at end of file
+{% extends "!layout.html" %}
+
+{% block extrahead %}
+{% endblock %}
+
+{% block sidebarlogo %}
+{% endblock %}
+
+{% block document %}
+{{ super() }}
+{% endblock %}
+
+{% block sidebarsearch %}
+{{ super() }}
+{% endblock %}
diff --git a/docs/source/conf.py b/docs/source/conf.py
index 5c552b4..17b5062 100644
--- a/docs/source/conf.py
+++ b/docs/source/conf.py
@@ -160,6 +160,7 @@ html_static_path = ['.static']
 
 # If true, the reST sources are included in the HTML build as _sources/<name>.
 #html_copy_source = True
+html_copy_source = False
 
 # If true, an OpenSearch description file will be output, and all pages will
 # contain a <link> tag referring to it.  The value of this option must be the
--