diff options
author | Kenneth Reitz <me@kennethreitz.org> | 2019-09-18 05:33:15 -0400 |
---|---|---|
committer | Kenneth Reitz <me@kennethreitz.org> | 2019-09-18 05:33:15 -0400 |
commit | 1a7d1406cb4a7658436fb65ce87a991a73e71273 (patch) | |
tree | cc64861fa5325ffb982b0c4e95ec2f7fc6104443 /docs/_templates | |
parent | ac851d8ac36ab4a456470903768471431f9e4cec (diff) | |
download | python-requests-1a7d1406cb4a7658436fb65ce87a991a73e71273.tar.gz |
cleanups
Diffstat (limited to 'docs/_templates')
-rw-r--r-- | docs/_templates/sidebarintro.html | 41 | ||||
-rw-r--r-- | docs/_templates/sidebarlogo.html | 66 |
2 files changed, 58 insertions, 49 deletions
diff --git a/docs/_templates/sidebarintro.html b/docs/_templates/sidebarintro.html index 1877a451..8bf1b8a2 100644 --- a/docs/_templates/sidebarintro.html +++ b/docs/_templates/sidebarintro.html @@ -1,28 +1,30 @@ <p class="logo"> <a href="{{ pathto(master_doc) }}"> - <img class="logo" src="{{ pathto('_static/requests-sidebar.png', 1) }}" title="https://kennethreitz.org/tattoos"/> + <img class="logo" src="{{ pathto('_static/requests-sidebar.jpg', 1) }}" title="https://kennethreitz.org/tattoos" /> </a> </p> <p> - <iframe src="https://ghbtns.com/github-btn.html?user=requests&repo=requests&type=watch&count=true&size=large" + <iframe src="https://ghbtns.com/github-btn.html?user=psf&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%; -} + .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/> +<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', @@ -36,17 +38,20 @@ </p> <p>Sponsored by <strong><a href="https://www.govcert.lu">CERT Gouvernemental - GOVCERT.LU</a></strong>.</p> -<script async type="text/javascript" src="//cdn.carbonads.com/carbon.js?zoneid=1673&serve=CKYI5K3E&placement=pythonrequestsorg" id="_carbonads_js"></script> +<script async type="text/javascript" + src="//cdn.carbonads.com/carbon.js?zoneid=1673&serve=CKYI5K3E&placement=pythonrequestsorg" + id="_carbonads_js"></script> <h3>Stay Informed</h3> <p>Receive updates on new releases and upcoming projects.</p> -<p><iframe src="https://ghbtns.com/github-btn.html?user=kennethreitz&type=follow&count=false" - allowtransparency="true" frameborder="0" scrolling="0" width="200" height="20"></iframe></p> +<p><iframe src="https://ghbtns.com/github-btn.html?user=kennethreitz&type=follow&count=false" allowtransparency="true" + frameborder="0" scrolling="0" width="200" height="20"></iframe></p> <h3>Useful Links</h3> <ul> - <li><a href="http://docs.python-requests.org/en/latest/community/recommended/">Recommended Packages and Extensions</a></li> + <li><a href="http://docs.python-requests.org/en/latest/community/recommended/">Recommended Packages and Extensions</a> + </li> <p></p> diff --git a/docs/_templates/sidebarlogo.html b/docs/_templates/sidebarlogo.html index 37aa3da3..f38c6d92 100644 --- a/docs/_templates/sidebarlogo.html +++ b/docs/_templates/sidebarlogo.html @@ -1,27 +1,29 @@ <p class="logo"> <a href="{{ pathto(master_doc) }}"> - <img class="logo" src="{{ pathto('_static/requests-sidebar.png', 1) }}" title="https://kennethreitz.org/tattoos"/> + <img class="logo" src="{{ pathto('_static/requests-sidebar.jpg', 1) }}" title="https://kennethreitz.org/tattoos" /> </a> </p> <p> -<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> + <iframe src="https://ghbtns.com/github-btn.html?user=psf&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%; -} + .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/> +<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', @@ -37,25 +39,27 @@ <p<p>Sponsored by <strong><a href="https://www.govcert.lu">CERT Gouvernemental - GOVCERT.LU</a></strong>.</p> -<h3>Stay Informed</h3> -<p>Receive updates on new releases and upcoming projects.</p> + <h3>Stay Informed</h3> + <p>Receive updates on new releases and upcoming projects.</p> -<p><a href="https://tinyletter.com/kennethreitz">Join Mailing List</a>.</p> + <p><a href="https://tinyletter.com/kennethreitz">Join Mailing List</a>.</p> -<hr/> + <hr /> -<script async type="text/javascript" src="//cdn.carbonads.com/carbon.js?zoneid=1673&serve=C6AILKT&placement=pythonrequestsorg" id="_carbonads_js"></script> + <script async type="text/javascript" + src="//cdn.carbonads.com/carbon.js?zoneid=1673&serve=C6AILKT&placement=pythonrequestsorg" + id="_carbonads_js"></script> -<h3>Translations</h3> + <h3>Translations</h3> -<ul> - <li><a href="http://docs.python-requests.org/">English</a></li> - <li><a href="http://fr.python-requests.org/">French</a></li> - <li><a href="http://de.python-requests.org/">German</a></li> - <li><a href="http://jp.python-requests.org/">Japanese</a></li> - <li><a href="http://cn.python-requests.org/">Chinese</a></li> - <li><a href="http://pt.python-requests.org/">Portuguese</a></li> - <li><a href="http://it.python-requests.org/">Italian</a></li> - <li><a href="http://es.python-requests.org/">Spanish</a></li> -</ul> + <ul> + <li><a href="http://docs.python-requests.org/">English</a></li> + <li><a href="http://fr.python-requests.org/">French</a></li> + <li><a href="http://de.python-requests.org/">German</a></li> + <li><a href="http://jp.python-requests.org/">Japanese</a></li> + <li><a href="http://cn.python-requests.org/">Chinese</a></li> + <li><a href="http://pt.python-requests.org/">Portuguese</a></li> + <li><a href="http://it.python-requests.org/">Italian</a></li> + <li><a href="http://es.python-requests.org/">Spanish</a></li> + </ul> |