| 1 |
From: Daniele Tricoli <[email protected]> |
| 2 |
Date: Thu, 26 Mar 2020 01:57:09 +0100 |
| 3 |
Subject: docs: Remove linking to remote images and GH button |
| 4 |
|
| 5 |
No need for linking to any external logos and images to statistical |
| 6 |
stuff within the Debian packaging. |
| 7 |
Also drop linking to GitHub Stargazers data. |
| 8 |
|
| 9 |
Forwarded: not-needed |
| 10 |
--- |
| 11 |
docs/_templates/sidebar.html | 5 ----- |
| 12 |
docs/conf.py | 2 +- |
| 13 |
docs/index.rst | 21 --------------------- |
| 14 |
3 files changed, 1 insertion(+), 27 deletions(-) |
| 15 |
|
| 16 |
diff --git a/docs/_templates/sidebar.html b/docs/_templates/sidebar.html |
| 17 |
index 3969105..31fab0a 100644 |
| 18 |
--- a/docs/_templates/sidebar.html |
| 19 |
+++ b/docs/_templates/sidebar.html |
| 20 |
@@ -4,11 +4,6 @@ |
| 21 |
</a> |
| 22 |
</p> |
| 23 |
|
| 24 |
-<p> |
| 25 |
- <iframe src="https://ghbtns.com/github-btn.html?user=psf&repo=requests&type=watch&count=true&size=large" |
| 26 |
- allowtransparency="true" frameborder="0" scrolling="0" width="200px" height="35px"></iframe> |
| 27 |
-</p> |
| 28 |
- |
| 29 |
<p> |
| 30 |
{{ _('Requests is an elegant and simple HTTP library for Python, built for human beings.') }} |
| 31 |
</p> |
| 32 |
diff --git a/docs/conf.py b/docs/conf.py |
| 33 |
index fa15d5b..42efb79 100644 |
| 34 |
--- a/docs/conf.py |
| 35 |
+++ b/docs/conf.py |
| 36 |
@@ -128,7 +128,7 @@ html_theme_options = { |
| 37 |
"show_powered_by": False, |
| 38 |
"github_user": "psf", |
| 39 |
"github_repo": "requests", |
| 40 |
- "github_banner": True, |
| 41 |
+ "github_banner": False, |
| 42 |
"show_related": False, |
| 43 |
"note_bg": "#FFF59C", |
| 44 |
} |
| 45 |
diff --git a/docs/index.rst b/docs/index.rst |
| 46 |
index e8564c1..0f3c7dd 100644 |
| 47 |
--- a/docs/index.rst |
| 48 |
+++ b/docs/index.rst |
| 49 |
@@ -8,27 +8,6 @@ Requests: HTTP for Humans™ |
| 50 |
|
| 51 |
Release v\ |version|. (:ref:`Installation <install>`) |
| 52 |
|
| 53 |
- |
| 54 |
-.. image:: https://img.shields.io/pypi/v/requests.svg?maxAge=86400 |
| 55 |
- :target: https://pypi.org/project/requests/ |
| 56 |
- :alt: PyPI Version Badge |
| 57 |
- |
| 58 |
-.. image:: https://img.shields.io/pypi/pyversions/requests.svg |
| 59 |
- :target: https://pypi.org/project/requests/ |
| 60 |
- :alt: Supported Versions Badge |
| 61 |
- |
| 62 |
-.. image:: https://static.pepy.tech/badge/requests/month |
| 63 |
- :target: https://pepy.tech/project/requests |
| 64 |
- :alt: Downloads Per Month Badge |
| 65 |
- |
| 66 |
-.. image:: https://img.shields.io/github/contributors/psf/requests.svg |
| 67 |
- :target: https://github.com/psf/requests/graphs/contributors |
| 68 |
- :alt: Contributors Badge |
| 69 |
- |
| 70 |
-.. image:: https://readthedocs.org/projects/requests/badge/?version=latest |
| 71 |
- :target: https://requests.readthedocs.io |
| 72 |
- :alt: Documentation Badge |
| 73 |
- |
| 74 |
**Requests** is an elegant and simple HTTP library for Python, built for human beings. |
| 75 |
|
| 76 |
------------------- |