aboutsummaryrefslogtreecommitdiff
path: root/debian
diff options
context:
space:
mode:
authorJeremy T. Bouse <jbouse@debian.org>2014-09-23 12:55:51 -0400
committerJeremy T. Bouse <jbouse@debian.org>2014-09-23 14:01:47 -0400
commitb0d0361ce5c39e64dd643f6d1f2a5c2d6c72ff61 (patch)
tree5860210c2f44ed76ecd6877ab02d896000ce9965 /debian
parentb17cca8f072ffaa2684b2670c19159e92e5bb375 (diff)
downloadpython-paramiko-b0d0361ce5c39e64dd643f6d1f2a5c2d6c72ff61.tar
python-paramiko-b0d0361ce5c39e64dd643f6d1f2a5c2d6c72ff61.tar.gz
Add patch to localize generated documentation
Diffstat (limited to 'debian')
-rw-r--r--debian/patches/0001-Localize-generated-documentation.patch28
-rw-r--r--debian/patches/series1
2 files changed, 29 insertions, 0 deletions
diff --git a/debian/patches/0001-Localize-generated-documentation.patch b/debian/patches/0001-Localize-generated-documentation.patch
new file mode 100644
index 0000000..919f26e
--- /dev/null
+++ b/debian/patches/0001-Localize-generated-documentation.patch
@@ -0,0 +1,28 @@
+From: "Jeremy T. Bouse" <jbouse@debian.org>
+Date: Tue, 23 Sep 2014 12:54:17 -0400
+Subject: Localize generated documentation
+
+Remove external resource references from the Sphinx layout to
+generate local documentation to package under /usr/share/doc for
+the paramiko-doc.
+---
+ sites/shared_conf.py | 6 +-----
+ 1 file changed, 1 insertion(+), 5 deletions(-)
+
+diff --git a/sites/shared_conf.py b/sites/shared_conf.py
+index 4a6a5c4..343b579 100644
+--- a/sites/shared_conf.py
++++ b/sites/shared_conf.py
+@@ -10,11 +10,7 @@ extensions = ['alabaster', 'sphinx.ext.intersphinx']
+ html_theme = 'alabaster'
+ html_theme_options = {
+ 'description': "A Python implementation of SSHv2.",
+- 'github_user': 'paramiko',
+- 'github_repo': 'paramiko',
+- 'gratipay_user': 'bitprophet',
+- 'analytics_id': 'UA-18486793-2',
+- 'travis_button': True,
++ 'github_button': False,
+ }
+ html_sidebars = {
+ '**': [
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..8bdc82d
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+0001-Localize-generated-documentation.patch