summaryrefslogtreecommitdiff
path: root/docs/_templates
diff options
context:
space:
mode:
authorKenneth Reitz <me@kennethreitz.org>2019-08-20 00:21:04 -0400
committerGitHub <noreply@github.com>2019-08-20 00:21:04 -0400
commit48e1a3359ec1ca12577685cf8f34a44908b9964c (patch)
treeb2a1c16b88e39d2d0a4e6e283863740783c4d860 /docs/_templates
parent5add08fc848a6c96460c00453f2cc649cf3e056e (diff)
parent1b450d2038b276a3e0921389bed515f71bad60f4 (diff)
downloadpython-requests-48e1a3359ec1ca12577685cf8f34a44908b9964c.tar.gz
Merge branch 'master' into master
Diffstat (limited to 'docs/_templates')
-rw-r--r--docs/_templates/sidebarintro.html26
-rw-r--r--docs/_templates/sidebarlogo.html23
2 files changed, 46 insertions, 3 deletions
diff --git a/docs/_templates/sidebarintro.html b/docs/_templates/sidebarintro.html
index a97483b7..ea0f1652 100644
--- a/docs/_templates/sidebarintro.html
+++ b/docs/_templates/sidebarintro.html
@@ -8,6 +8,27 @@
<iframe src="https://ghbtns.com/github-btn.html?user=requests&repo=requests&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>
+<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: 'f177061e2354c50a97bfc635e827ffab',
+ indexName: 'python-requests',
+ inputSelector: '#doc_search',
+ debug: false // Set debug to true if you want to inspect the dropdown
+})" async></script>
<p>
Requests is an elegant and simple HTTP library for Python, built for
@@ -30,6 +51,7 @@
<p>More <a href="https://www.kennethreitz.org/">Kenneth Reitz</a> projects:</p>
<ul>
+ <li><a href="http://open-dsm-5.org/">Open DSM-5M</a></li>
<li><a href="https://html.python-requests.org/">Requests-HTML</a></li>
<li><a href="http://howtopython.org/">howtopython.org</a></li>
<li><a href="http://pipenv.org/">pipenv</a></li>
@@ -49,9 +71,9 @@
<p></p>
- <li><a href="https://github.com/requests/requests">Requests @ GitHub</a></li>
+ <li><a href="https://github.com/psf/requests">Requests @ GitHub</a></li>
<li><a href="https://pypi.org/project/requests/">Requests @ PyPI</a></li>
- <li><a href="https://github.com/requests/requests/issues">Issue Tracker</a></li>
+ <li><a href="https://github.com/psf/requests/issues">Issue Tracker</a></li>
<li><a href="http://docs.python-requests.org/en/latest/community/updates/#software-updates">Release History</a></li>
</ul>
diff --git a/docs/_templates/sidebarlogo.html b/docs/_templates/sidebarlogo.html
index 7fe26493..d244c2b7 100644
--- a/docs/_templates/sidebarlogo.html
+++ b/docs/_templates/sidebarlogo.html
@@ -7,7 +7,27 @@
<iframe src="https://ghbtns.com/github-btn.html?user=requests&repo=requests&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>
+<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: 'f177061e2354c50a97bfc635e827ffab',
+ indexName: 'python-requests',
+ inputSelector: '#doc_search',
+ debug: false // Set debug to true if you want to inspect the dropdown
+})" async></script>
<p>
Requests is an elegant and simple HTTP library for Python, built for
@@ -36,6 +56,7 @@
<p>More <a href="https://www.kennethreitz.org/">Kenneth Reitz</a> projects:</p>
<ul>
+ <li><a href="http://open-dsm-5.org/">Open DSM-5M</a></li>
<li><a href="https://html.python-requests.org/">Requests-HTML</a></li>
<li><a href="http://howtopython.org/">howtopython.org</a></li>
<li><a href="http://pipenv.org/">pipenv</a></li>