[pyevolve] 04/81: Use documentation template from 0.5

Christian Kastner chrisk-guest at moszumanska.debian.org
Sun Aug 17 21:12:38 UTC 2014


This is an automated email from the git hooks/post-receive script.

chrisk-guest pushed a commit to branch master
in repository pyevolve.

commit 233a0588341e4cf6c81e517d99d6e0d210a262bd
Author: Christian Kastner <debian at kvr.at>
Date:   Wed May 26 22:29:57 2010 +0200

    Use documentation template from 0.5
---
 .../0001-Use-documentation-template-from-0.5.patch | 267 +++++++++++++++++++++
 debian/patches/series                              |   1 +
 2 files changed, 268 insertions(+)

diff --git a/debian/patches/0001-Use-documentation-template-from-0.5.patch b/debian/patches/0001-Use-documentation-template-from-0.5.patch
new file mode 100644
index 0000000..7f02ad6
--- /dev/null
+++ b/debian/patches/0001-Use-documentation-template-from-0.5.patch
@@ -0,0 +1,267 @@
+From: Christian Kastner <debian at 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
+-- 
diff --git a/debian/patches/series b/debian/patches/series
index e69de29..503f9d2 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -0,0 +1 @@
+0001-Use-documentation-template-from-0.5.patch

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/pyevolve.git



More information about the debian-science-commits mailing list