diff options
author | Nate Prewitt <Nate.Prewitt@gmail.com> | 2018-04-07 15:11:00 -0700 |
---|---|---|
committer | Nate Prewitt <Nate.Prewitt@gmail.com> | 2018-04-07 15:11:00 -0700 |
commit | c7cea32304c05ef5890bcb8941edc8b6fbe04a03 (patch) | |
tree | 7a5d670da7f5b7a8403537f2099435ce2407194e /docs/_templates | |
parent | 9c6bd54b44c0b05c6907522e8d9998a87b69c1cd (diff) | |
parent | b66908e7b647689793e299edc111bf9910e93ad3 (diff) | |
download | python-requests-updating_3.0.0.tar.gz |
Merge remote-tracking branch 'upstream/master' into updating_3.0.0updating_3.0.0
Diffstat (limited to 'docs/_templates')
-rw-r--r-- | docs/_templates/hacks.html | 7 | ||||
-rw-r--r-- | docs/_templates/sidebarintro.html | 19 | ||||
-rw-r--r-- | docs/_templates/sidebarlogo.html | 17 |
3 files changed, 23 insertions, 20 deletions
diff --git a/docs/_templates/hacks.html b/docs/_templates/hacks.html index 0d88a6ec..c3fe2d1e 100644 --- a/docs/_templates/hacks.html +++ b/docs/_templates/hacks.html @@ -1,7 +1,6 @@ <!-- Alabaster (krTheme++) Hacks --> <aside id="python27"> - Python 3, the new best practice, is here to stay. - Python 2 will retire in only <time></time> months! + <a href="https://www.kennethreitz.org/requests3"><strong>Requests 3.0</strong> development is underway, and your financial help is appreciated!</a> </aside> <!-- Python 2 Death Clock⢠--> @@ -20,14 +19,14 @@ } </style> -<script src="https://cdnjs.cloudflare.com/ajax/libs/moment.js/2.18.1/moment.min.js"></script> +<!-- <script src="https://cdnjs.cloudflare.com/ajax/libs/moment.js/2.18.1/moment.min.js"></script> <script> var death = new Date('2020-04-12'); var diff = moment.duration(death - moment()); document.querySelector('#python27 time').innerText = (diff.years() * 12) + diff.months(); -</script> +</script> --> <!-- CSS Adjustments (I'm very picky.) --> diff --git a/docs/_templates/sidebarintro.html b/docs/_templates/sidebarintro.html index 5b437d85..047e6524 100644 --- a/docs/_templates/sidebarintro.html +++ b/docs/_templates/sidebarintro.html @@ -5,7 +5,7 @@ </p> <p> - <iframe src="http://ghbtns.com/github-btn.html?user=requests&repo=requests&type=watch&count=true&size=large" + <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> @@ -13,24 +13,26 @@ Requests is an elegant and simple HTTP library for Python, built for human beings. </p> +<p>Sponsored by <strong><a href="https://linode.com/">Linode</a></strong> and <a href="http://docs.python-requests.org/en/master/community/sponsors/#patron-sponsors">other wonderful organizations</a>.</p> + <script async type="text/javascript" src="//cdn.carbonads.com/carbon.js?zoneid=1673&serve=C6AILKT&placement=pythonrequestsorg" id="_carbonads_js"></script> -<h3><a href="http://www.unixstickers.com/stickers/coding_stickers/requests-shaped-sticker">Stickers!</a></h3> +<p><a href="http://www.unixstickers.com/stickers/coding_stickers/requests-shaped-sticker">Requests Stickers!</a></p> <h3>Stay Informed</h3> <p>Receive updates on new releases and upcoming projects.</p> -<p><iframe src="http://ghbtns.com/github-btn.html?user=kennethreitz&type=follow&count=false" +<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><a href="https://twitter.com/kennethreitz" class="twitter-follow-button" data-show-count="false">Follow @kennethreitz</a> <script>!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0],p=/^http:/.test(d.location)?'http':'https';if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src=p+'://platform.twitter.com/widgets.js';fjs.parentNode.insertBefore(js,fjs);}}(document, 'script', 'twitter-wjs');</script></p> -<p><a href="https://saythanks.io/to/kennethreitz">Say Thanks!</a></p> <p><a href="http://tinyletter.com/kennethreitz">Join Mailing List</a>.</p> <h3>Other Projects</h3> <p>More <a href="http://kennethreitz.org/">Kenneth Reitz</a> projects:</p> <ul> - <li><a href="http://edmsynths.com/">edmsynths.com</a></li> + <li><a href="http://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> <li><a href="http://pep8.org/">pep8.org</a></li> <li><a href="http://httpbin.org/">httpbin.org</a></li> @@ -48,9 +50,9 @@ <p></p> - <li><a href="http://github.com/requests/requests">Requests @ GitHub</a></li> - <li><a href="http://pypi.python.org/pypi/requests">Requests @ PyPI</a></li> - <li><a href="http://github.com/requests/requests/issues">Issue Tracker</a></li> + <li><a href="https://github.com/requests/requests">Requests @ GitHub</a></li> + <li><a href="https://pypi.python.org/pypi/requests">Requests @ PyPI</a></li> + <li><a href="https://github.com/requests/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> @@ -67,4 +69,3 @@ <li><a href="http://it.python-requests.org/">Italian</a></li> <li><a href="http://es.python-requests.org/">Spanish</a></li> </ul> - diff --git a/docs/_templates/sidebarlogo.html b/docs/_templates/sidebarlogo.html index b31c3477..1b7afbd8 100644 --- a/docs/_templates/sidebarlogo.html +++ b/docs/_templates/sidebarlogo.html @@ -4,28 +4,31 @@ </a> </p> <p> -<iframe src="http://ghbtns.com/github-btn.html?user=requests&repo=requests&type=watch&count=true&size=large" +<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> + <p> Requests is an elegant and simple HTTP library for Python, built for human beings. You are currently looking at the documentation of the development release. </p> -<h3><a href="http://www.unixstickers.com/stickers/coding_stickers/requests-shaped-sticker">Stickers!</a></h3> + +<p>Sponsored by <strong><a href="https://linode.com/">Linode</a></strong> and <a href="http://docs.python-requests.org/en/master/community/sponsors/#patron-sponsors">other wonderful organizations</a>.</p> + <h3>Stay Informed</h3> <p>Receive updates on new releases and upcoming projects.</p> +<p><a href="http://www.unixstickers.com/stickers/coding_stickers/requests-shaped-sticker">Requests Stickers!</a></p> + <p><a href="http://tinyletter.com/kennethreitz">Join Mailing List</a>.</p> <hr/> <script async type="text/javascript" src="//cdn.carbonads.com/carbon.js?zoneid=1673&serve=C6AILKT&placement=pythonrequestsorg" id="_carbonads_js"></script> -<p>If you enjoy using this project, <a href="https://saythanks.io/to/kennethreitz">Say Thanks!</a></p> - -<p><iframe src="http://ghbtns.com/github-btn.html?user=kennethreitz&type=follow&count=false" +<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><a href="https://twitter.com/kennethreitz" class="twitter-follow-button" data-show-count="false">Follow @kennethreitz</a> <script>!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0],p=/^http:/.test(d.location)?'http':'https';if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src=p+'://platform.twitter.com/widgets.js';fjs.parentNode.insertBefore(js,fjs);}}(document, 'script', 'twitter-wjs');</script></p> @@ -35,7 +38,8 @@ <p>More <a href="http://kennethreitz.org/">Kenneth Reitz</a> projects:</p> <ul> - <li><a href="http://edmsynths.com/">edmsynths.com</a></li> + <li><a href="http://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> <li><a href="http://pep8.org/">pep8.org</a></li> <li><a href="http://httpbin.org/">httpbin.org</a></li> @@ -59,4 +63,3 @@ <li><a href="http://it.python-requests.org/">Italian</a></li> <li><a href="http://es.python-requests.org/">Spanish</a></li> </ul> - |