diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2022-09-16 14:14:55 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2022-09-16 14:14:55 +0000 |
commit | a0065ae0026ced3c6755f4f85787dc2d6662aba6 (patch) | |
tree | a6a1e36232a70dd24ff8a78bc8e9816de4332077 | |
parent | Rediffing remove-sphinxcontrib.googleanalytics.patch. (diff) | |
download | terminaltables-a0065ae0026ced3c6755f4f85787dc2d6662aba6.tar.xz terminaltables-a0065ae0026ced3c6755f4f85787dc2d6662aba6.zip |
Rediffing enable-Sphinx-html_copy_source.patch.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
-rw-r--r-- | debian/patches/0002-enable-Sphinx-html_copy_source.patch | 30 |
1 files changed, 11 insertions, 19 deletions
diff --git a/debian/patches/0002-enable-Sphinx-html_copy_source.patch b/debian/patches/0002-enable-Sphinx-html_copy_source.patch index 29066db..e703d32 100644 --- a/debian/patches/0002-enable-Sphinx-html_copy_source.patch +++ b/debian/patches/0002-enable-Sphinx-html_copy_source.patch @@ -1,23 +1,15 @@ -From: Carl Suster <carl@contraflo.ws> -Date: Sat, 7 Jan 2017 14:39:14 +1100 -Subject: enable Sphinx html_copy_source +Author: Carl Suster <carl@contraflo.ws> +Description: + We would like for the HTML source files to be installed, and they are + needed for the search page. In theory this could be done by passing an + argument `-Dhtml_copy_source=1` in debian/rules, however this causes + HAS_SOURCE to be equal to 1 instead of True so dh_sphinxdoc fails with a + "doesn't look like a Sphinc search page" error. -We would like for the HTML source files to be installed, and they are -needed for the search page. In theory this could be done by passing an -argument `-Dhtml_copy_source=1` in debian/rules, however this causes -HAS_SOURCE to be equal to 1 instead of True so dh_sphinxdoc fails with a -"doesn't look like a Sphinc search page" error. - -Forwarded: no ---- - docs/conf.py | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/docs/conf.py b/docs/conf.py -index 7580d0c..12ab980 100644 ---- a/docs/conf.py -+++ b/docs/conf.py -@@ -26,7 +26,7 @@ html_context = dict( +diff -Naurp terminaltables.orig/docs/conf.py terminaltables/docs/conf.py +--- terminaltables.orig/docs/conf.py ++++ terminaltables/docs/conf.py +@@ -27,7 +27,7 @@ html_context = dict( github_version=os.environ.get('TRAVIS_BRANCH', 'master'), source_suffix='.rst', ) |