From: Yaroslav Halchenko Date: Tue, 22 Nov 2016 15:34:29 +0000 (+0000) Subject: Disable google analytics referrals in the -doc X-Git-Tag: archive/raspbian/0.18-5+rpi1~7 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=cb2663a61c32587cc4d49bc8a82d495851b6c563;p=scikit-learn.git.old 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 --- 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