[med-svn] [python-pbcore] 03/03: Use default documentation theme rather than upstream's with corporate logo
Afif Elghraoui
afif-guest at moszumanska.debian.org
Tue Jun 23 02:39:24 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-pbcore.
commit 3a73532684ac2fcfeb109b5737ef4f51a2e43eda
Author: Afif Elghraoui <afif at ghraoui.name>
Date: Sun Jun 21 13:58:38 2015 -0700
Use default documentation theme rather than upstream's with corporate logo
I did not find anything in the source distribution prohibiting use
of the corporate logo, but it's better to be safe and leave it out.
---
debian/copyright | 1 +
debian/patches/doc-theme.patch | 28 ++++++++++++++++++++++++++++
debian/patches/series | 1 +
3 files changed, 30 insertions(+)
diff --git a/debian/copyright b/debian/copyright
index fc0e34d..207c1a6 100644
--- a/debian/copyright
+++ b/debian/copyright
@@ -1,6 +1,7 @@
Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Upstream-Name: pbcore
Source: https://github.com/PacificBiosciences/pbcore
+Files-Excluded: doc/pacbio-theme/*
Files: *
Copyright: 2011-2015 Pacific Biosciences of California, Inc.
diff --git a/debian/patches/doc-theme.patch b/debian/patches/doc-theme.patch
new file mode 100644
index 0000000..32e597f
--- /dev/null
+++ b/debian/patches/doc-theme.patch
@@ -0,0 +1,28 @@
+Description: Use default Sphinx theme for documentation
+ The upstream's original theme includes their corporate
+ logo. To be safe, this patch ignores it and configures
+ the documentation builder to use the default theme.
+Author: Afif Elghraoui <afif at ghraoui.name>
+Forwarded: no
+Last-Update: 2015-06-21
+---
+This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
+--- python-pbcore.orig/doc/conf.py
++++ python-pbcore/doc/conf.py
+@@ -98,7 +98,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
+@@ -107,7 +107,6 @@
+
+ # Add any paths that contain custom themes here, relative to this directory.
+ #html_theme_path = []
+-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 a80d71c..8003af8 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1 +1,2 @@
remove-convenience-script.patch
+doc-theme.patch
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-med/python-pbcore.git
More information about the debian-med-commit
mailing list