File: disable-doc-comments.patch

package info (click to toggle)
pygame 2.6.1-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 42,952 kB
  • sloc: ansic: 66,926; python: 48,797; javascript: 1,153; objc: 224; sh: 121; makefile: 59; cpp: 25
file content (23 lines) | stat: -rw-r--r-- 732 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
From: Stefano Rivera <stefanor@debian.org>
Date: Tue, 31 Dec 2019 13:32:04 +0200
Subject: Disable comment JS in documentation

This calls back to pygame's server to retrieve comments to display,
which wouldn't work offline, and is a privacy breach.

Forwarded: not-needed
---
 docs/reST/themes/classic/elements.html | 5 -----
 1 file changed, 5 deletions(-)

--- a/docs/reST/themes/classic/elements.html
+++ b/docs/reST/themes/classic/elements.html
@@ -98,8 +98,3 @@
 <hr />
 <a href="{{ edit_on_github_url }}" rel="nofollow">{{ _('Edit on GitHub') }}</a>
 {%- endblock %}
-
-
-{%- block relbaritems %}
-    <script type="text/javascript" src="https://www.pygame.org/comment/jquery.plugin.docscomments.js"></script>
-{% endblock %}