From 311354a6949234c53e7c8b9693eb803b04e65b0d Mon Sep 17 00:00:00 2001 From: Yaroslav Halchenko Date: Wed, 28 Dec 2016 12:24:45 +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 9c75922..f7b3d8a 100644 --- a/doc/conf.py +++ b/doc/conf.py @@ -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. 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