File: 0001-avoid-privacy-breach-in-docs.patch

package info (click to toggle)
dataclass-wizard 0.35.1-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 1,808 kB
  • sloc: python: 15,276; makefile: 111; javascript: 23
file content (77 lines) | stat: -rw-r--r-- 2,606 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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
From: Edward Betts <edward@4angle.com>
Date: Thu, 5 Jun 2025 19:36:20 -0500
Subject: avoid privacy breach in docs

---
 README.rst                        | 16 ----------------
 docs/_templates/sidebarintro.html | 33 ---------------------------------
 2 files changed, 49 deletions(-)

diff --git a/README.rst b/README.rst
index 93a2589..bda8531 100644
--- a/README.rst
+++ b/README.rst
@@ -4,22 +4,6 @@ Dataclass Wizard
 
 Release v\ |version| | 📚 Full docs on `Read the Docs`_ (`Installation`_).
 
-.. image:: https://github.com/rnag/dataclass-wizard/actions/workflows/dev.yml/badge.svg
-    :target: https://github.com/rnag/dataclass-wizard/actions/workflows/dev.yml
-    :alt: CI Status
-
-.. image:: https://img.shields.io/pypi/pyversions/dataclass-wizard.svg
-    :target: https://pypi.org/project/dataclass-wizard
-    :alt: Supported Python Versions
-
-.. image:: https://img.shields.io/pypi/l/dataclass-wizard.svg
-    :target: https://pypi.org/project/dataclass-wizard/
-    :alt: License
-
-.. image:: https://static.pepy.tech/badge/dataclass-wizard/month
-    :target: https://pepy.tech/project/dataclass-wizard
-    :alt: Monthly Downloads
-
 **Dataclass Wizard** 🪄
 Simple, elegant *wizarding* tools for Python’s ``dataclasses``.
 
diff --git a/docs/_templates/sidebarintro.html b/docs/_templates/sidebarintro.html
index de1fee3..de5195c 100644
--- a/docs/_templates/sidebarintro.html
+++ b/docs/_templates/sidebarintro.html
@@ -1,36 +1,3 @@
-<!--GitHub watchers/stars overview (disabled for now)
-<p>
-  <iframe src="https://ghbtns.com/github-btn.html?user=rnag&repo=dataclass-wizard&type=watch&count=true&size=large"
-    allowtransparency="true" frameborder="0" scrolling="0" width="200px" height="35px"></iframe>
-</p>
--->
-<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/docsearch.js@2/dist/cdn/docsearch.min.css" />
-<style>
-  .algolia-autocomplete {
-    width: 100%;
-    height: 1.5em
-  }
-
-  .algolia-autocomplete a {
-    border-bottom: none !important;
-  }
-
-  #doc_search {
-    width: 100%;
-    height: 100%;
-  }
-</style>
-<!--Search functionality (disabled for now)
-
-<input id="doc_search" placeholder="Search the doc" autofocus />
-<script type="text/javascript" src="https://cdn.jsdelivr.net/npm/docsearch.js@2/dist/cdn/docsearch.min.js" onload="docsearch({
-  apiKey: 'abc123',
-  indexName: 'dataclass-wizard',
-  inputSelector: '#doc_search',
-  debug: false // Set debug to true if you want to inspect the dropdown
-})" async></script>
--->
-
 <h1 class="logo"><a href="{{ pathto(master_doc) }}">Dataclass Wizard</a></h1>
 
 <p class="blurb">