From 35139d81afbfd6fc255297ec6d537e4a942a5a5d Mon Sep 17 00:00:00 2001 From: Yaroslav Halchenko Date: Tue, 13 May 2014 14:07:58 +0000 Subject: [PATCH] Disable google analytics referrals in the -doc 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 | 2 +- doc/themes/scikit-learn/theme.conf | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/conf.py b/doc/conf.py index 2f6f41b..0ab8f12 100644 --- a/doc/conf.py +++ b/doc/conf.py @@ -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. diff --git a/doc/themes/scikit-learn/theme.conf b/doc/themes/scikit-learn/theme.conf index 716b82a..af1c34d 100644 --- a/doc/themes/scikit-learn/theme.conf +++ b/doc/themes/scikit-learn/theme.conf @@ -6,6 +6,6 @@ pygments_style = tango [options] oldversion = False collapsiblesidebar = True -google_analytics = True +google_analytics = False surveybanner = False sprintbanner = True -- 2.30.2