Disable google analytics referrals in the -doc
authorYaroslav Halchenko <debian@onerussian.com>
Tue, 13 May 2014 14:07:58 +0000 (14:07 +0000)
committerYaroslav Halchenko <debian@onerussian.com>
Tue, 13 May 2014 14:07:58 +0000 (14:07 +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 2f6f41b3d3160a96ea0de41e9086fa3c4efdd9d8..0ab8f12c78a613680e00738c08d31b904ea9d980 100644 (file)
@@ -122,7 +122,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