~ubuntu-branches/ubuntu/maverick/libtorrent-rasterbar/maverick

« back to all changes in this revision

Viewing changes to debian/patches/100_fix_html_docs.patch

  • Committer: Bazaar Package Importer
  • Author(s): Christophe Sauthier
  • Date: 2010-08-10 12:59:37 UTC
  • mfrom: (1.3.7 upstream)
  • Revision ID: james.westby@ubuntu.com-20100810125937-jbcmmf17y8yo9hgz
Tags: 0.15.0-0ubuntu1
* New upstream version.
* debian/patches/100_fix_html_docs.patch: refreshed.
* debian/control: bump up standards-version to 3.9.1 (no changes).

Show diffs side-by-side

added added

removed removed

Lines of Context:
3
3
includes the makefile and template.txt needed to rebuild html docs from
4
4
rst files.
5
5
 
6
 
--- /dev/null
7
 
+++ b/docs/template.txt
 
6
Index: libtorrent-rasterbar-0.15.0/docs/template.txt
 
7
===================================================================
 
8
--- /dev/null   1970-01-01 00:00:00.000000000 +0000
 
9
+++ libtorrent-rasterbar-0.15.0/docs/template.txt       2010-08-09 12:36:18.000000000 +0200
8
10
@@ -0,0 +1,29 @@
9
11
+%(head_prefix)s
10
12
+%(head)s
35
37
+    </div>
36
38
+    </div>
37
39
+%(body_suffix)s
38
 
--- /dev/null
39
 
+++ b/docs/makefile
 
40
Index: libtorrent-rasterbar-0.15.0/docs/makefile
 
41
===================================================================
 
42
--- /dev/null   1970-01-01 00:00:00.000000000 +0000
 
43
+++ libtorrent-rasterbar-0.15.0/docs/makefile   2010-08-09 12:36:18.000000000 +0200
40
44
@@ -0,0 +1,28 @@
41
45
+#!/usr/bin/make -f
42
46
+# Upstream Author: Arvid Norberg - Modified by: Cristian Greco
66
70
+
67
71
+clean:
68
72
+       @rm -f $(TARGETS:=.html)
69
 
--- /dev/null
70
 
+++ b/docs/css/base.css
 
73
Index: libtorrent-rasterbar-0.15.0/docs/css/base.css
 
74
===================================================================
 
75
--- /dev/null   1970-01-01 00:00:00.000000000 +0000
 
76
+++ libtorrent-rasterbar-0.15.0/docs/css/base.css       2010-08-09 12:36:18.000000000 +0200
71
77
@@ -0,0 +1,136 @@
72
78
+/* Page template */
73
79
+
205
211
+
206
212
+p, ul, ol, img {margin-bottom: 1em;}
207
213
+
208
 
--- /dev/null
209
 
+++ b/docs/css/rst.css
 
214
Index: libtorrent-rasterbar-0.15.0/docs/css/rst.css
 
215
===================================================================
 
216
--- /dev/null   1970-01-01 00:00:00.000000000 +0000
 
217
+++ libtorrent-rasterbar-0.15.0/docs/css/rst.css        2010-08-09 12:36:18.000000000 +0200
210
218
@@ -0,0 +1,245 @@
211
219
+.document {
212
220
+    margin-left: 10px;
453
461
+* html #table-of-contents ul ul { height: 1%; }
454
462
+/* End hide from IE-mac */
455
463
+
456
 
--- a/docs/index.rst
457
 
+++ b/docs/index.rst
458
 
@@ -73,7 +73,7 @@
 
464
Index: libtorrent-rasterbar-0.15.0/docs/index.rst
 
465
===================================================================
 
466
--- libtorrent-rasterbar-0.15.0.orig/docs/index.rst     2010-08-09 12:36:27.000000000 +0200
 
467
+++ libtorrent-rasterbar-0.15.0/docs/index.rst  2010-08-09 12:39:49.000000000 +0200
 
468
@@ -75,7 +75,8 @@
459
469
 .. _`ruby bindings`: http://libtorrent-ruby.rubyforge.org/
460
470
 .. _`python bindings`: python_binding.html
461
471
 
462
472
-.. _`Introduction, slides`: bittorrent.pdf
463
 
+.. _`Introduction, slides`: http://www.rasterbar.com/products/libtorrent/bittorrent.pdf
 
473
+.. _`Introduction, slides`: http://www.rasterbar.com/products/libtorrent/bitto
 
474
+rrent.pdf
464
475
 
465
 
 libtorrent is a C++ library that aims to be a good alternative to all the
466
 
 other bittorrent implementations around. It is a
467
 
@@ -92,21 +92,11 @@
 
476
 libtorrent is a feature complete C++ bittorrent implementation focusing
 
477
 on efficiency and scalability. It runs on embedded devices as well as
 
478
@@ -95,21 +96,11 @@
468
479
 Donate
469
480
 ======
470
481
 
489
500
 
490
501
 
491
502
 Feedback
492
 
@@ -128,11 +118,8 @@
 
503
@@ -152,13 +143,10 @@
493
504
 
494
 
 Thanks to Reimond Retz for bugfixes, suggestions and testing
 
505
 __ http://www.cs.umu.se
495
506
 
496
507
-Project is hosted by sourceforge.
497
508
-
498
509
-|sf_logo|__
499
510
+Project is hosted by sourceforge__.
500
511
 
 
512
 __ http://sourceforge.net
 
513
 
501
514
-.. |sf_logo| image:: http://sourceforge.net/sflogo.php?group_id=7994
502
 
 __ http://sourceforge.net
 
515
 .. |copy| unicode:: 0xA9 .. copyright sign
503
516
 
504
517
 .. raw:: html