1
0
Fork 0

Refreshing google-analytics.patch.

Signed-off-by: Daniel Baumann <daniel@debian.org>
This commit is contained in:
Daniel Baumann 2025-02-12 15:00:50 +01:00
parent 30b0c7aaba
commit e3a7a8729a
Signed by: daniel
GPG key ID: FBB4F0E80A80222F

View file

@ -1,18 +1,29 @@
Author: Carl Suster <carl@contraflo.ws>
Description: Disable Google Analytics extension for building the documentation with Sphinx.
diff -Naurp terminaltables.orig/docs/conf.py terminaltables/docs/conf.py
--- terminaltables.orig/docs/conf.py
+++ terminaltables/docs/conf.py
@@ -42,11 +42,6 @@ extensions.append('sphinx.ext.extlinks')
extlinks = {'github': ('https://github.com/robpol86/{0}/blob/v{1}/%s'.format(project, version), '')}
diff -Naurp terminaltables3.orig/docs/conf.py terminaltables3/docs/conf.py
--- terminaltables3.orig/docs/conf.py
+++ terminaltables3/docs/conf.py
@@ -47,11 +47,6 @@ extlinks = {
}
-# google analytics
-extensions.append('sphinxcontrib.googleanalytics')
-googleanalytics_id = 'UA-82627369-1'
-extensions.append("sphinxcontrib.googleanalytics")
-googleanalytics_id = "UA-82627369-1"
-
-
# SCVersioning.
scv_banner_greatest_tag = True
scv_grm_exclude = ('.gitignore', '.nojekyll', 'README.rst')
scv_grm_exclude = (".gitignore", ".nojekyll", "README.rst")
diff -Naurp terminaltables3.orig/tox.ini terminaltables3/tox.ini
--- terminaltables3.orig/tox.ini
+++ terminaltables3/tox.ini
@@ -24,7 +24,6 @@ changedir = {toxinidir}/docs
commands =
sphinx-build -W . _build/html {posargs}
deps =
- robpol86-sphinxcontrib-googleanalytics==0.1
sphinx-rtd-theme==0.2.4
sphinx==1.5.3
usedevelop = False