[yade] 03/04: Remove google-scripts from documentation.

Anton Gladky gladk at moszumanska.debian.org
Thu Jan 16 07:02:52 UTC 2014


This is an automated email from the git hooks/post-receive script.

gladk pushed a commit to annotated tag debian/1.07.0-1
in repository yade.

commit 82040937a572c895dddeaa4ec374561d307a75cd
Author: Anton Gladky <gladky.anton at gmail.com>
Date:   Tue Jan 14 20:26:25 2014 +0100

    Remove google-scripts from documentation.
---
 debian/patches/02_remove_google_analytics.patch | 26 +++++++++++++++++++++++++
 debian/patches/series                           |  1 +
 2 files changed, 27 insertions(+)

diff --git a/debian/patches/02_remove_google_analytics.patch b/debian/patches/02_remove_google_analytics.patch
new file mode 100644
index 0000000..f882c43
--- /dev/null
+++ b/debian/patches/02_remove_google_analytics.patch
@@ -0,0 +1,26 @@
+Description: remove google analytics script
+Author: Anton Gladky <gladk at debian.org>
+Last-Update: 2014-01-14
+
+--- yade-1.07.0.orig/doc/sphinx/templates/layout.html
++++ yade-1.07.0/doc/sphinx/templates/layout.html
+@@ -16,19 +16,6 @@
+ {% endblock %}
+ 
+ 
+-{% block footer %}
+-{{ super() }}
+-<script type="text/javascript">
+-	(function() {
+-	 var ga = document.createElement('script');
+-	 ga.src = ('https:' == document.location.protocol ?
+-		 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
+-	 ga.setAttribute('async', 'true');
+-	 document.documentElement.firstChild.appendChild(ga);
+-	 })();
+-</script>
+-  {% endblock %}
+-
+ {% block rootrellink %}
+         <li><a href="{{ pathto('index') }}">Yade</a> | </li>
+         <li><a href="{{ pathto('index-toctree') }}">Documentation</a>
diff --git a/debian/patches/series b/debian/patches/series
index 0680b6e..bff62bf 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1 +1,2 @@
 01_fix_ipython_1.0.patch
+02_remove_google_analytics.patch

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/yade.git



More information about the debian-science-commits mailing list