[med-svn] [python-pbh5tools] 06/10: Use default sphinx documentation theme

Afif Elghraoui afif-guest at moszumanska.debian.org
Sat Aug 15 22:24:52 UTC 2015


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

afif-guest pushed a commit to branch master
in repository python-pbh5tools.

commit 1ad68e6fa63bf35d0cc11583dd376b5559255694
Author: Afif Elghraoui <afif at ghraoui.name>
Date:   Sat Aug 15 12:20:57 2015 -0700

    Use default sphinx documentation theme
---
 debian/TODO                      |  2 --
 debian/patches/default-doc-theme | 24 ++++++++++++++++++++++++
 debian/patches/series            |  1 +
 3 files changed, 25 insertions(+), 2 deletions(-)

diff --git a/debian/TODO b/debian/TODO
index c75f3ec..bb5b5f3 100644
--- a/debian/TODO
+++ b/debian/TODO
@@ -7,5 +7,3 @@
    There's a C shared library that is compiled as part of the setup.py
    build.
 * Set up autopkgtest
-* Remove pacbio logos from source distribution and use default theme
-   for sphinx documentation
diff --git a/debian/patches/default-doc-theme b/debian/patches/default-doc-theme
new file mode 100644
index 0000000..66217b0
--- /dev/null
+++ b/debian/patches/default-doc-theme
@@ -0,0 +1,24 @@
+Description: Use default Sphinx theme for documentation
+ The upstream's original theme uses their corporate logo.
+Author: Afif Elghraoui <afif at ghraoui.name>
+Forwarded: not-needed
+Last-Update: 2015-08-15
+--- python-pbh5tools.orig/doc/conf.py
++++ python-pbh5tools/doc/conf.py
+@@ -91,7 +91,7 @@
+ 
+ # The theme to use for HTML and HTML Help pages.  See the documentation for
+ # a list of builtin themes.
+-html_theme = 'pacbio-theme'
++html_theme = 'default'
+ 
+ # Theme options are theme-specific and customize the look and feel of a theme
+ # further.  For a list of options available for each theme, see the
+@@ -99,7 +99,6 @@
+ #html_theme_options = {}
+ 
+ # Add any paths that contain custom themes here, relative to this directory.
+-html_theme_path = ["../../../doc/theme/", "./"]
+ 
+ # The name for this set of Sphinx documents.  If None, it defaults to
+ # "<project> v<release> documentation".
diff --git a/debian/patches/series b/debian/patches/series
index 3eb9e0b..5c2cfbf 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1 +1,2 @@
+default-doc-theme
 enable-nosetests

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-med/python-pbh5tools.git



More information about the debian-med-commit mailing list