diff --git a/debian/patches/debian/0001-google-analytics.patch b/debian/patches/debian/0001-google-analytics.patch index 9efaacd..2c07c7c 100644 --- a/debian/patches/debian/0001-google-analytics.patch +++ b/debian/patches/debian/0001-google-analytics.patch @@ -1,18 +1,29 @@ Author: Carl Suster 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