File: docs-Ignore-any-badges.patch

package info (click to toggle)
flask-openapi3 4.3.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 2,224 kB
  • sloc: python: 4,807; makefile: 14; javascript: 5
file content (82 lines) | stat: -rw-r--r-- 3,896 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
78
79
80
81
82
From: Carsten Schoenert <c.schoenert@t-online.de>
Date: Sat, 14 Dec 2024 09:29:46 +0200
Subject: docs: Ignore any badges

We don't need this in Debian and these could lead to some potential
privacy issue.

Forwarded: not-needed
---
 README.md        | 18 ++----------------
 docs/index.zh.md | 16 +---------------
 2 files changed, 3 insertions(+), 31 deletions(-)

diff --git a/README.md b/README.md
index 42f07b2..5f32d9b 100644
--- a/README.md
+++ b/README.md
@@ -1,26 +1,12 @@
 <div align="center">
     <a href="https://luolingchun.github.io/flask-openapi3/" target="_blank">
-        <img class="off-glb" src="https://raw.githubusercontent.com/luolingchun/flask-openapi3/master/docs/images/logo-text.svg" 
+        <img class="off-glb" src="./images/logo-text.svg"
              width="60%" height="auto" alt="logo">
     </a>
 </div>
 <p align="center">
     <em>Generate REST API and OpenAPI documentation for your Flask project.</em>
 </p>
-<p align="center">
-    <a href="https://github.com/luolingchun/flask-openapi3/actions/workflows/tests.yml" target="_blank">
-        <img class="off-glb" src="https://img.shields.io/github/actions/workflow/status/luolingchun/flask-openapi3/tests.yml?branch=master" alt="test">
-    </a>
-    <a href="https://pypi.org/project/flask-openapi3/" target="_blank">
-        <img class="off-glb" src="https://img.shields.io/pypi/v/flask-openapi3" alt="pypi">
-    </a>
-    <a href="https://pypistats.org/packages/flask-openapi3" target="_blank">
-        <img class="off-glb" src="https://img.shields.io/pypi/dm/flask-openapi3" alt="pypistats">
-    </a>
-    <a href="https://pypi.org/project/flask-openapi3/" target="_blank">
-        <img class="off-glb" src="https://img.shields.io/pypi/pyversions/flask-openapi3" alt="pypi versions">
-    </a>
-</p>
 
 **Flask OpenAPI3** is a web API framework based on **Flask**. It uses **Pydantic** to verify data and automatic
 generation of interaction documentation.
@@ -207,4 +193,4 @@ Run the [simple example](https://github.com/luolingchun/flask-openapi3/blob/mast
 > More optional ui templates goto the document
 > about [UI_Templates](https://luolingchun.github.io/flask-openapi3/latest/Usage/UI_Templates/).
 
-![openapi](https://raw.githubusercontent.com/luolingchun/flask-openapi3/master/docs/images/openapi-all.png)
+![openapi](./images/openapi-all.png)
diff --git a/docs/index.zh.md b/docs/index.zh.md
index 448189c..f215c96 100644
--- a/docs/index.zh.md
+++ b/docs/index.zh.md
@@ -1,25 +1,11 @@
 <div align="center">
     <a href="https://luolingchun.github.io/flask-openapi3/" target="_blank">
-        <img class="off-glb" src="../images/logo-text.svg" width="60%" height="auto" alt="logo">
+        <img class="off-glb" src="./images/logo-text.svg" width="60%" height="auto" alt="logo">
     </a>
 </div>
 <p align="center">
     <em>为你的 Flask 项目生成 REST API 和 OpenAPI 文档。</em>
 </p>
-<p align="center">
-    <a href="https://github.com/luolingchun/flask-openapi3/actions/workflows/tests.yml" target="_blank">
-        <img class="off-glb" src="https://img.shields.io/github/actions/workflow/status/luolingchun/flask-openapi3/tests.yml?branch=master" alt="test">
-    </a>
-    <a href="https://pypi.org/project/flask-openapi3/" target="_blank">
-        <img class="off-glb" src="https://img.shields.io/pypi/v/flask-openapi3" alt="pypi">
-    </a>
-    <a href="https://pypistats.org/packages/flask-openapi3" target="_blank">
-        <img class="off-glb" src="https://img.shields.io/pypi/dm/flask-openapi3" alt="pypistats">
-    </a>
-    <a href="https://pypi.org/project/flask-openapi3/" target="_blank">
-        <img class="off-glb" src="https://img.shields.io/pypi/pyversions/flask-openapi3" alt="pypi versions">
-    </a>
-</p>
 
 **Flask OpenAPI3** 是一个基于 **Flask** 的 web API 框架,使用 **Pydantic** 验证数据,自动生成交互文档。