summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2023-12-10 15:18:41 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2023-12-10 15:18:41 +0000
commit08318a3ee0ad2c70858b329689a17300f8b9467b (patch)
tree3680b0cea0df795bd9dfa508ccb10a5d28c36091
parentReleasing debian version 3.1.10-2. (diff)
downloadterminaltables-08318a3ee0ad2c70858b329689a17300f8b9467b.tar.xz
terminaltables-08318a3ee0ad2c70858b329689a17300f8b9467b.zip
Building documentation for the time being without sphinx extlinks extensions to fix FTBFS (Closes: #1042605).
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
-rw-r--r--debian/patches/debian/0006-sphinx-extlinks.patch19
-rw-r--r--debian/patches/series1
2 files changed, 20 insertions, 0 deletions
diff --git a/debian/patches/debian/0006-sphinx-extlinks.patch b/debian/patches/debian/0006-sphinx-extlinks.patch
new file mode 100644
index 0000000..2ad387a
--- /dev/null
+++ b/debian/patches/debian/0006-sphinx-extlinks.patch
@@ -0,0 +1,19 @@
+Author: Daniel Baumann <daniel.baumann@progress-linux.org>
+Description: Building documentation for the time being without sphinx extlinks
+ extensions to fix FTBFS (Closes: #1042605).
+
+diff -Naurp terminaltables.orig/docs/conf.py terminaltables/docs/conf.py
+--- terminaltables.orig/docs/conf.py
++++ terminaltables/docs/conf.py
+@@ -37,11 +37,6 @@ html_title = project
+ extensions.append('sphinx.ext.autodoc')
+
+
+-# extlinks.
+-extensions.append('sphinx.ext.extlinks')
+-extlinks = {'github': ('https://github.com/robpol86/{0}/blob/v{1}/%s'.format(project, version), '')}
+-
+-
+ # SCVersioning.
+ scv_banner_greatest_tag = True
+ scv_grm_exclude = ('.gitignore', '.nojekyll', 'README.rst')
diff --git a/debian/patches/series b/debian/patches/series
index c705a79..ce60631 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -3,3 +3,4 @@ debian/0002-html-output.patch
debian/0003-python-shebang.patch
debian/0004-quiet-stdout.patch
debian/0005-sphinx-meta.patch
+debian/0006-sphinx-extlinks.patch