[Python-modules-commits] [celery] 07/11: Remove external assets from documentation.

Brian May bam at moszumanska.debian.org
Wed Nov 18 22:21:06 UTC 2015


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

bam pushed a commit to branch master
in repository celery.

commit 24f878e9b31b88f9b27d15b4075f0d5b6bbaaf9e
Author: Michael Fladischer <fladi at debian.org>
Date:   Thu Oct 8 08:37:05 2015 -0700

    Remove external assets from documentation.
    
     Upstream incldues a PayPal donation form in it's sphinx templates for which the
     submit button used an external image and which was replaced by a simple
     <button/> element. Also a gittip button is loaded inside an <iframe/> which is
     removed. The logo image was loaded from the project website and is replaced
     with the local image file.
    Last-Update: 2014-02-11
    Forwarded: not-needed
    
    Patch-Name: privacy.patch
---
 docs/.templates/sidebarintro.html | 8 ++------
 docs/.templates/sidebarlogo.html  | 8 ++------
 2 files changed, 4 insertions(+), 12 deletions(-)

diff --git a/docs/.templates/sidebarintro.html b/docs/.templates/sidebarintro.html
index 16cca54..1fd55b3 100644
--- a/docs/.templates/sidebarintro.html
+++ b/docs/.templates/sidebarintro.html
@@ -1,5 +1,5 @@
 <p class="logo"><a href="{{ pathto(master_doc) }}">
-  <img class="logo" src="http://cloud.github.com/downloads/celery/celery/celery_128.png" alt="Logo"/>
+  <img class="logo" src="{{ pathto("_images/celery_128.png", 1) }}" alt="Logo"/>
 </a></p>
 <div id="donate">
     <b>Please donate:</b>
@@ -7,9 +7,5 @@
         <input type="hidden" name="cmd" value="_s-xclick">
         <input type="hidden" name="hosted_button_id" value="BPCLP83DFF2N2">
     </form>
-    <img onclick="$('#paypal_donate').submit();"
-        src="http://celeryproject.org/static/img/icon-paypal.png" alt="amex">
-    <iframe style="border: 0; margin: 0; padding: 0;"
-            src="https://www.gittip.com/ask/widget.html"
-            width="48pt" height="22pt"> </iframe>
+    <button onclick="$('#paypal_donate').submit();" alt="PayPal">PayPal</button>
 </div>
diff --git a/docs/.templates/sidebarlogo.html b/docs/.templates/sidebarlogo.html
index 16cca54..1fd55b3 100644
--- a/docs/.templates/sidebarlogo.html
+++ b/docs/.templates/sidebarlogo.html
@@ -1,5 +1,5 @@
 <p class="logo"><a href="{{ pathto(master_doc) }}">
-  <img class="logo" src="http://cloud.github.com/downloads/celery/celery/celery_128.png" alt="Logo"/>
+  <img class="logo" src="{{ pathto("_images/celery_128.png", 1) }}" alt="Logo"/>
 </a></p>
 <div id="donate">
     <b>Please donate:</b>
@@ -7,9 +7,5 @@
         <input type="hidden" name="cmd" value="_s-xclick">
         <input type="hidden" name="hosted_button_id" value="BPCLP83DFF2N2">
     </form>
-    <img onclick="$('#paypal_donate').submit();"
-        src="http://celeryproject.org/static/img/icon-paypal.png" alt="amex">
-    <iframe style="border: 0; margin: 0; padding: 0;"
-            src="https://www.gittip.com/ask/widget.html"
-            width="48pt" height="22pt"> </iframe>
+    <button onclick="$('#paypal_donate').submit();" alt="PayPal">PayPal</button>
 </div>

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/python-modules/packages/celery.git



More information about the Python-modules-commits mailing list