From 723986ffe568c44eedc5cabd9f7c3695155fdd11 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Wed, 12 Feb 2025 15:00:51 +0100 Subject: [PATCH] Refreshing sphinx-extlinks.patch. Signed-off-by: Daniel Baumann --- .../patches/debian/0006-sphinx-extlinks.patch | 21 ++++++++++++------- 1 file changed, 13 insertions(+), 8 deletions(-) diff --git a/debian/patches/debian/0006-sphinx-extlinks.patch b/debian/patches/debian/0006-sphinx-extlinks.patch index a501ece..e17fd73 100644 --- a/debian/patches/debian/0006-sphinx-extlinks.patch +++ b/debian/patches/debian/0006-sphinx-extlinks.patch @@ -2,18 +2,23 @@ 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') +diff -Naurp terminaltables3.orig/docs/conf.py terminaltables3/docs/conf.py +--- terminaltables3.orig/docs/conf.py ++++ terminaltables3/docs/conf.py +@@ -37,16 +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), '')} +-extensions.append("sphinx.ext.extlinks") +-extlinks = { +- "github": ( +- f"https://github.com/robpol86/{project}/blob/v{version}/%s", +- "", +- ) +-} - - # SCVersioning. scv_banner_greatest_tag = True - scv_grm_exclude = ('.gitignore', '.nojekyll', 'README.rst') + scv_grm_exclude = (".gitignore", ".nojekyll", "README.rst")