From c957ff193c8904ba90c291a4bb44a9ef3c873125 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Wed, 12 Feb 2025 13:08:10 +0100 Subject: [PATCH] Building documentation for the time being without sphinx extlinks extensions to fix FTBFS (Closes: #1042605). Signed-off-by: Daniel Baumann --- .../patches/debian/0006-sphinx-extlinks.patch | 19 +++++++++++++++++++ debian/patches/series | 1 + 2 files changed, 20 insertions(+) create mode 100644 debian/patches/debian/0006-sphinx-extlinks.patch 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 +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