From b0d0361ce5c39e64dd643f6d1f2a5c2d6c72ff61 Mon Sep 17 00:00:00 2001 From: "Jeremy T. Bouse" Date: Tue, 23 Sep 2014 12:55:51 -0400 Subject: Add patch to localize generated documentation --- .../0001-Localize-generated-documentation.patch | 28 ++++++++++++++++++++++ debian/patches/series | 1 + 2 files changed, 29 insertions(+) create mode 100644 debian/patches/0001-Localize-generated-documentation.patch create mode 100644 debian/patches/series 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" +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 -- cgit v1.2.3