summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--debian/patches/debian/0006-sphinx-extlinks.patch15
1 files changed, 10 insertions, 5 deletions
diff --git a/debian/patches/debian/0006-sphinx-extlinks.patch b/debian/patches/debian/0006-sphinx-extlinks.patch
index 2ad387a..2bdae11 100644
--- a/debian/patches/debian/0006-sphinx-extlinks.patch
+++ b/debian/patches/debian/0006-sphinx-extlinks.patch
@@ -5,15 +5,20 @@ Description: Building documentation for the time being without sphinx extlinks
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')
+@@ -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")