Skip to content

Commit a5e7169

Browse files
authored
Cleanup the docs sidebar (#6144)
1 parent 79f2ec3 commit a5e7169

File tree

2 files changed

+0
-83
lines changed

2 files changed

+0
-83
lines changed

docs/_templates/sidebarintro.html

-42
Original file line numberDiff line numberDiff line change
@@ -8,39 +8,11 @@
88
<iframe src="https://ghbtns.com/github-btn.html?user=psf&repo=requests&type=watch&count=true&size=large"
99
allowtransparency="true" frameborder="0" scrolling="0" width="200px" height="35px"></iframe>
1010
</p>
11-
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/docsearch.js@2/dist/cdn/docsearch.min.css" />
12-
<style>
13-
.algolia-autocomplete {
14-
width: 100%;
15-
height: 1.5em
16-
}
17-
18-
.algolia-autocomplete a {
19-
border-bottom: none !important;
20-
}
21-
22-
#doc_search {
23-
width: 100%;
24-
height: 100%;
25-
}
26-
</style>
27-
<input id="doc_search" placeholder="Search the doc" autofocus />
28-
<script type="text/javascript" src="https://cdn.jsdelivr.net/npm/docsearch.js@2/dist/cdn/docsearch.min.js" onload="docsearch({
29-
apiKey: 'f177061e2354c50a97bfc635e827ffab',
30-
indexName: 'python-requests',
31-
inputSelector: '#doc_search',
32-
debug: false // Set debug to true if you want to inspect the dropdown
33-
})" async></script>
3411

3512
<p>
3613
Requests is an elegant and simple HTTP library for Python, built for
3714
human beings.
3815
</p>
39-
<p>Sponsored by <strong><a href="https://www.govcert.lu">CERT Gouvernemental - GOVCERT.LU</a></strong>.</p>
40-
41-
<script async type="text/javascript"
42-
src="//cdn.carbonads.com/carbon.js?zoneid=1673&serve=CKYI5K3E&placement=pythonrequestsorg"
43-
id="_carbonads_js"></script>
4416

4517
<h3>Useful Links</h3>
4618
<ul>
@@ -61,19 +33,5 @@ <h3>Useful Links</h3>
6133
<li><a href="https://github.com/psf/requests/issues">Issue Tracker</a></li>
6234
</ul>
6335

64-
65-
<h3>Translations</h3>
66-
67-
<ul>
68-
<li><a href="https://requests.readthedocs.io/">English</a></li>
69-
<li><a href="https://fr.python-requests.org/">French</a></li>
70-
<li><a href="https://de.python-requests.org/">German</a></li>
71-
<li><a href="https://jp.python-requests.org/">Japanese</a></li>
72-
<li><a href="https://cn.python-requests.org/">Chinese</a></li>
73-
<li><a href="https://pt.python-requests.org/">Portuguese</a></li>
74-
<li><a href="https://it.python-requests.org/">Italian</a></li>
75-
<li><a href="https://es.python-requests.org/">Spanish</a></li>
76-
</ul>
77-
7836
<div id="native-ribbon">
7937
</div>

docs/_templates/sidebarlogo.html

-41
Original file line numberDiff line numberDiff line change
@@ -2,42 +2,13 @@
22
<iframe src="https://ghbtns.com/github-btn.html?user=psf&repo=requests&type=watch&count=true&size=large"
33
allowtransparency="true" frameborder="0" scrolling="0" width="200px" height="35px"></iframe>
44
</p>
5-
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/docsearch.js@2/dist/cdn/docsearch.min.css" />
6-
<style>
7-
.algolia-autocomplete {
8-
width: 100%;
9-
height: 1.5em
10-
}
11-
12-
.algolia-autocomplete a {
13-
border-bottom: none !important;
14-
}
15-
16-
#doc_search {
17-
width: 100%;
18-
height: 100%;
19-
}
20-
</style>
21-
<input id="doc_search" placeholder="Search the doc" autofocus />
22-
<script type="text/javascript" src="https://cdn.jsdelivr.net/npm/docsearch.js@2/dist/cdn/docsearch.min.js" onload="docsearch({
23-
apiKey: 'f177061e2354c50a97bfc635e827ffab',
24-
indexName: 'python-requests',
25-
inputSelector: '#doc_search',
26-
debug: false // Set debug to true if you want to inspect the dropdown
27-
})" async></script>
285

296
<p>
307
Requests is an elegant and simple HTTP library for Python, built for
318
human beings. You are currently looking at the documentation of the
329
development release.
3310
</p>
3411

35-
<p>Sponsored by <strong><a href="https://www.govcert.lu">CERT Gouvernemental - GOVCERT.LU</a></strong>.</p>
36-
37-
<script async type="text/javascript"
38-
src="//cdn.carbonads.com/carbon.js?zoneid=1673&serve=C6AILKT&placement=pythonrequestsorg"
39-
id="_carbonads_js"></script>
40-
4112
<h3>Useful Links</h3>
4213
<ul>
4314
<li><a href="https://requests.readthedocs.io/en/latest/user/quickstart/">Quickstart</a></li>
@@ -57,15 +28,3 @@ <h3>Useful Links</h3>
5728
<li><a href="https://github.com/psf/requests/issues">Issue Tracker</a></li>
5829
</ul>
5930

60-
<h3>Translations</h3>
61-
62-
<ul>
63-
<li><a href="https://requests.readthedocs.io/">English</a></li>
64-
<li><a href="https://fr.python-requests.org/">French</a></li>
65-
<li><a href="https://de.python-requests.org/">German</a></li>
66-
<li><a href="https://jp.python-requests.org/">Japanese</a></li>
67-
<li><a href="https://cn.python-requests.org/">Chinese</a></li>
68-
<li><a href="https://pt.python-requests.org/">Portuguese</a></li>
69-
<li><a href="https://it.python-requests.org/">Italian</a></li>
70-
<li><a href="https://es.python-requests.org/">Spanish</a></li>
71-
</ul>

0 commit comments

Comments
 (0)