Disable google analytics referrals in the -doc
authorYaroslav Halchenko <debian@onerussian.com>
Tue, 22 Nov 2016 15:34:29 +0000 (15:34 +0000)
committerPeter Michael Green <plugwash@raspbian.org>
Tue, 22 Nov 2016 15:34:29 +0000 (15:34 +0000)
  if we were to provide some information from just reading  documentation we
  had to disclose and seek approval from the user before doing that.

  Thanks Ambrose Andrews for the analysis and report

Origin: Debian
Bug: 730259
Bug-Debian: http://bugs.debian.org/730259
Bug-Ubuntu: https://launchpad.net/bugs/
Last-Update: 2013-11-24

Gbp-Pq: Name deb_no_google_analytics

doc/conf.py
doc/themes/scikit-learn/theme.conf

index 9c75922b2a50a5869df5123dee18d76871682461..f7b3d8aaa11c268d9cc2b5f858fb650d10a27768 100644 (file)
@@ -129,7 +129,7 @@ html_theme = 'scikit-learn'
 # further.  For a list of options available for each theme, see the
 # documentation.
 html_theme_options = {'oldversion': False, 'collapsiblesidebar': True,
-                      'google_analytics': True, 'surveybanner': False,
+                      'google_analytics': False, 'surveybanner': False,
                       'sprintbanner': True}
 
 # Add any paths that contain custom themes here, relative to this directory.
index 716b82a02d7b11eac58b8f873cf3ff05027bcd3e..af1c34d121468b1b4a574d527222fb4cd8d9d11a 100644 (file)
@@ -6,6 +6,6 @@ pygments_style = tango
 [options]
 oldversion = False
 collapsiblesidebar = True
-google_analytics = True
+google_analytics = False
 surveybanner = False
 sprintbanner = True