summaryrefslogtreecommitdiffstats
path: root/debian/patches/debian/0001-google-analytics.patch
diff options
context:
space:
mode:
Diffstat (limited to 'debian/patches/debian/0001-google-analytics.patch')
-rw-r--r--debian/patches/debian/0001-google-analytics.patch18
1 files changed, 18 insertions, 0 deletions
diff --git a/debian/patches/debian/0001-google-analytics.patch b/debian/patches/debian/0001-google-analytics.patch
new file mode 100644
index 0000000..9efaacd
--- /dev/null
+++ b/debian/patches/debian/0001-google-analytics.patch
@@ -0,0 +1,18 @@
+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), '')}
+
+
+-# google analytics
+-extensions.append('sphinxcontrib.googleanalytics')
+-googleanalytics_id = 'UA-82627369-1'
+-
+-
+ # SCVersioning.
+ scv_banner_greatest_tag = True
+ scv_grm_exclude = ('.gitignore', '.nojekyll', 'README.rst')