Debian Codegraph @

debian/patches/0002-privacy.patch

raw
1 From: Michael Fladischer <[email protected]>
2 Date: Thu, 8 Oct 2015 08:37:05 -0700
3 Subject: Remove external assets from documentation.
4
5 Upstream includes a PayPal donation form in it's sphinx templates for which the
6 submit button used an external image and which was replaced by a simple
7 <button/> element. Also a gittip button is loaded inside an <iframe/> which is
8 removed. The logo image was loaded from the project website and is replaced
9 with the local image file.
10 Last-Update: 2024-10-04
11 Forwarded: not-needed
12
13 Patch-Name: privacy.patch
14 ---
15 README.rst | 78 +----------------------------------
16 docs/_templates/sidebardonations.html | 9 ----
17 docs/conf.py | 1 -
18 docs/index.rst | 5 ---
19 4 files changed, 1 insertion(+), 92 deletions(-)
20 delete mode 100644 docs/_templates/sidebardonations.html
21
22 diff --git a/README.rst b/README.rst
23 index a358602..d48dfa5 100644
24 --- a/README.rst
25 +++ b/README.rst
26 @@ -1,4 +1,4 @@
27 -.. image:: https://docs.celeryq.dev/en/latest/_images/celery-banner-small.png
28 +.. image:: ./docs/images/celery-banner-small.png
29
30 |build-status| |coverage| |license| |wheel| |semgrep| |pyversion| |pyimp| |ocbackerbadge| |ocsponsorbadge|
31
32 @@ -16,10 +16,6 @@ Donations
33 Open Collective
34 ---------------
35
36 -.. image:: https://opencollective.com/static/images/opencollectivelogo-footer-n.svg
37 - :alt: Open Collective logo
38 - :width: 200px
39 -
40 `Open Collective <https://opencollective.com/celery>`_ is our community-powered funding platform that fuels Celery's
41 ongoing development. Your sponsorship directly supports improvements, maintenance, and innovative features that keep
42 Celery robust and reliable.
43 @@ -37,21 +33,11 @@ Sponsors
44 Blacksmith
45 ----------
46
47 -.. image:: https://github.com/celery/celery/blob/main/docs/images/blacksmith-logo-white-on-black.svg
48 - :alt: Blacksmith logo
49 - :width: 240px
50 - :target: https://blacksmith.sh/
51 -
52 `Official Announcement <https://www.linkedin.com/pulse/celery-now-powered-blacksmith-tomer-nosrati-ew68e/?trackingId=DWHH49WqS2iOW8Jf5N1kEg%3D%3D>`_
53
54 CloudAMQP
55 ---------
56
57 -.. image:: https://github.com/celery/celery/blob/main/docs/images/cloudamqp-logo-lightbg.svg
58 - :alt: CloudAMQP logo
59 - :width: 240px
60 - :target: https://www.cloudamqp.com/
61 -
62 `CloudAMQP <https://www.cloudamqp.com/>`_ is an industry leading RabbitMQ as a service provider.
63 If you need highly available message queues, a perfect choice would be to use CloudAMQP.
64 With 24,000+ running instances, CloudAMQP is the leading hosting provider of RabbitMQ,
65 @@ -60,11 +46,6 @@ with customers all over the world.
66 Upstash
67 -------
68
69 -.. image:: https://upstash.com/logo/upstash-dark-bg.svg
70 - :alt: Upstash logo
71 - :width: 200px
72 - :target: https://upstash.com/?code=celery
73 -
74 `Upstash <http://upstash.com/?code=celery>`_ offers a serverless Redis database service,
75 providing a seamless solution for Celery users looking to leverage
76 serverless architectures. Upstash's serverless Redis service is designed
77 @@ -74,20 +55,12 @@ through a multi-tier storage architecture.
78 Dragonfly
79 ---------
80
81 -.. image:: https://github.com/celery/celery/raw/main/docs/images/dragonfly.svg
82 - :alt: Dragonfly logo
83 - :width: 150px
84 - :target: https://www.dragonflydb.io/
85 -
86 `Dragonfly <https://www.dragonflydb.io/>`_ is a drop-in Redis replacement that cuts costs and boosts performance.
87 Designed to fully utilize the power of modern cloud hardware and deliver on the data demands of modern applications,
88 Dragonfly frees developers from the limits of traditional in-memory data stores.
89
90
91
92 -.. |oc-sponsor-1| image:: https://opencollective.com/celery/sponsor/0/avatar.svg
93 - :target: https://opencollective.com/celery/sponsor/0/website
94 -
95 What's a Task Queue?
96 ====================
97
98 @@ -543,11 +516,6 @@ Thank you to all our backers! 🙏 [`Become a backer`_]
99
100 .. _`Become a backer`: https://opencollective.com/celery#backer
101
102 -|oc-backers|
103 -
104 -.. |oc-backers| image:: https://opencollective.com/celery/backers.svg?width=890
105 - :target: https://opencollective.com/celery#backers
106 -
107 .. _license:
108
109 License
110 @@ -557,47 +525,3 @@ This software is licensed under the `New BSD License`. See the ``LICENSE``
111 file in the top distribution directory for the full license text.
112
113 .. # vim: syntax=rst expandtab tabstop=4 shiftwidth=4 shiftround
114 -
115 -.. |build-status| image:: https://github.com/celery/celery/actions/workflows/python-package.yml/badge.svg
116 - :alt: Build status
117 - :target: https://github.com/celery/celery/actions/workflows/python-package.yml
118 -
119 -.. |coverage| image:: https://codecov.io/github/celery/celery/coverage.svg?branch=main
120 - :target: https://codecov.io/github/celery/celery?branch=main
121 -
122 -.. |license| image:: https://img.shields.io/pypi/l/celery.svg
123 - :alt: BSD License
124 - :target: https://opensource.org/licenses/BSD-3-Clause
125 -
126 -.. |wheel| image:: https://img.shields.io/pypi/wheel/celery.svg
127 - :alt: Celery can be installed via wheel
128 - :target: https://pypi.org/project/celery/
129 -
130 -.. |semgrep| image:: https://img.shields.io/badge/semgrep-security-green.svg
131 - :alt: Semgrep security
132 - :target: https://go.semgrep.dev/home
133 -
134 -.. |pyversion| image:: https://img.shields.io/pypi/pyversions/celery.svg
135 - :alt: Supported Python versions.
136 - :target: https://pypi.org/project/celery/
137 -
138 -.. |pyimp| image:: https://img.shields.io/pypi/implementation/celery.svg
139 - :alt: Supported Python implementations.
140 - :target: https://pypi.org/project/celery/
141 -
142 -.. |ocbackerbadge| image:: https://opencollective.com/celery/backers/badge.svg
143 - :alt: Backers on Open Collective
144 - :target: #backers
145 -
146 -.. |ocsponsorbadge| image:: https://opencollective.com/celery/sponsors/badge.svg
147 - :alt: Sponsors on Open Collective
148 - :target: #sponsors
149 -
150 -.. |downloads| image:: https://pepy.tech/badge/celery
151 - :alt: Downloads
152 - :target: https://pepy.tech/project/celery
153 -
154 -.. |deepwiki| image:: https://devin.ai/assets/deepwiki-badge.png
155 - :alt: Ask http://DeepWiki.com
156 - :target: https://deepwiki.com/celery/celery
157 - :width: 125px
158 diff --git a/docs/_templates/sidebardonations.html b/docs/_templates/sidebardonations.html
159 deleted file mode 100644
160 index 2eebc8e..0000000
161 --- a/docs/_templates/sidebardonations.html
162 +++ /dev/null
163 @@ -1,9 +0,0 @@
164 -<iframe src="https://ghbtns.com/github-btn.html?user=celery&repo=celery&type=watch&count=true&size=large"
165 - allowtransparency="true" frameborder="0" scrolling="0" width="200px" height="35px"></iframe>
166 -<div id="donate">
167 - <h3>Donations</h3>
168 - <p>Please help support this community project with a donation.</p>
169 - <a href="https://opencollective.com/celery/donate" target="_blank">
170 - <img src="https://opencollective.com/celery/donate/[email protected]?color=blue"/>
171 - </a>
172 -</div>
173 diff --git a/docs/conf.py b/docs/conf.py
174 index 736240f..2777cba 100644
175 --- a/docs/conf.py
176 +++ b/docs/conf.py
177 @@ -14,7 +14,6 @@ globals().update(conf.build_config(
178 publisher='Celery Project',
179 html_logo='images/celery_512.png',
180 html_favicon='images/favicon.ico',
181 - html_prepend_sidebars=['sidebardonations.html'],
182 extra_extensions=[
183 'sphinx_click',
184 'sphinx.ext.napoleon',
185 diff --git a/docs/index.rst b/docs/index.rst
186 index 107d96e..0a3ddd5 100644
187 --- a/docs/index.rst
188 +++ b/docs/index.rst
189 @@ -14,11 +14,6 @@ don't hesitate to ask questions or :ref:`get involved <getting-help>`.
190
191 Celery is Open Source and licensed under the `BSD License`_.
192
193 -.. image:: https://opencollective.com/static/images/opencollectivelogo-footer-n.svg
194 - :target: https://opencollective.com/celery
195 - :alt: Open Collective logo
196 - :width: 240px
197 -
198 `Open Collective <https://opencollective.com/celery>`_ is our community-powered funding platform that fuels Celery's
199 ongoing development. Your sponsorship directly supports improvements, maintenance, and innovative features that keep
200 Celery robust and reliable.