[openstack-dev] Documentation containing external resource links & privacy breaches

Cory Benfield cory at lukasa.co.uk
Mon Dec 7 17:07:21 UTC 2015

> On 7 Dec 2015, at 16:10, Thomas Goirand <zigo at debian.org> wrote:
> Cory,
> Thanks a lot for this patch.
> If I understand well, in Debian, I'd have to remove the:
> [options]
> analytics_tracking_code = UA-17511903-1
> from the default theme.conf to make the GA code go away. Right? Would
> there be a way so that I could set an environment variable instead of
> patching the file, which is always a pain?

You don’t need to remove that, you set it in `html_theme_options` in the conf.py for the relevant docs. That’s a fairly simple patch, but if the docs theme people are open to having an environment variable we could set up the default conf.py appropriately.

NB: You’d want html_theme_options to be set to:

html_theme_options = {
    ‘analytics_tracking_code’: ‘'

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 801 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <http://lists.openstack.org/pipermail/openstack-dev/attachments/20151207/e761ee2d/attachment.pgp>

More information about the OpenStack-dev mailing list