Skip to content

Commit 60087a8

Browse files
committed
docs: Use my own piwik instead of google analytics
1 parent 81908f0 commit 60087a8

File tree

2 files changed

+17
-1
lines changed

2 files changed

+17
-1
lines changed

doc/source/_templates/layout.html

+17
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
{% extends "!layout.html" %}
2+
{%- block footer %}
3+
{{ super() }}
4+
<script type="text/javascript">
5+
var _paq = _paq || [];
6+
_paq.push(['trackPageView']);
7+
_paq.push(['enableLinkTracking']);
8+
(function() {
9+
var u="//stats.philpep.org/piwik/";
10+
_paq.push(['setTrackerUrl', u+'piwik.php']);
11+
_paq.push(['setSiteId', 2]);
12+
var d=document, g=d.createElement('script'), s=d.getElementsByTagName('script')[0];
13+
g.type='text/javascript'; g.async=true; g.defer=true; g.src=u+'piwik.js'; s.parentNode.insertBefore(g,s);
14+
})();
15+
</script>
16+
<noscript><p><img src="//stats.philpep.org/piwik/piwik.php?idsite=2" style="border:0;" alt="" /></p></noscript>
17+
{% endblock %}

doc/source/conf.py

-1
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,6 @@
115115
'github_repo': 'testinfra',
116116
'github_button': True,
117117
'travis_button': True,
118-
'analytics_id': 'UA-63638452-1',
119118
'extra_nav_links': {
120119
'View on github': 'https://github.com/philpep/testinfra',
121120
},

0 commit comments

Comments
 (0)