File: remove-badges-from-docs-to-eliminate-privacy-breaches.patch

package info (click to toggle)
metakernel 0.30.4-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 1,368 kB
  • sloc: python: 5,097; makefile: 179; sh: 18
file content (44 lines) | stat: -rw-r--r-- 1,776 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
From: Joe Nahmias <joe@nahmias.net>
Date: Sun, 4 Oct 2020 20:39:32 -0400
Subject: remove badges from docs to eliminate privacy breaches

Forwarded: not-needed

--- a/README.rst
+++ b/README.rst
@@ -1,18 +1,5 @@
 A Jupyter kernel base class in Python which includes core magic functions (including help, command and file path completion, parallel and distributed processing, downloads, and much more).
 
-.. image:: https://badge.fury.io/py/metakernel.png/
-    :target: http://badge.fury.io/py/metakernel
-
-.. image:: https://github.com/Calysto/metakernel/actions/workflows/tests.yml/badge.svg?query=branch%3Amain++
-  :target: https://github.com/Calysto/metakernel/actions/workflows/tests.yml
-
-.. image:: https://anaconda.org/conda-forge/metakernel/badges/version.svg
-    :target: https://anaconda.org/conda-forge/metakernel
-
-.. image:: https://anaconda.org/conda-forge/metakernel/badges/downloads.svg
-    :target: https://anaconda.org/conda-forge/metakernel
-
-
 See Jupyter's docs on `wrapper kernels
 <http://jupyter-client.readthedocs.io/en/stable/wrapperkernels.html>`_.
 
--- a/docs/_templates/layout.html
+++ b/docs/_templates/layout.html
@@ -1,13 +1,8 @@
 {% extends '!layout.html' %}
 
-{# Add github banner (from: https://github.com/blog/273-github-ribbons). #}
 {% block header %}
   {{ super() }}
   {% if pagename == "index" %}
-      <a href="https://github.com/calysto/metakernel"
-         class="visible-desktop"><img
-        style="position: absolute; top: 50px; right: 0; border: 0; z-index:1"
-        src="https://s3.amazonaws.com/github/ribbons/forkme_right_white_ffffff.png"
-        alt="Fork me on GitHub"></a>
+  <p style="float:right"><a href="https://github.com/calysto/metakernel">Fork me on GitHub</a></p>
   {% endif %}
 {% endblock %}