History

Update versions & dates for Python, extract info for downloading

Jed Fox committed 6 years ago

Commit dca7ffd1 parent 428afb13 files · +24 −12Browse files

Showing the changes to lib/docs/scrapers/python.rb (1 of 3 files). Show all

Unified · Split

lib/docs/scrapers/python.rb+5−11
@@ -19,32 +19,26 @@ module Docs · 18 unmodified lines
1919 library/sunau.html)
2020
2121 options[:attribution] = <<-HTML
22− &copy; 2001&ndash;2019 Python Software Foundation<br>
22+ &copy; 2001&ndash;2020 Python Software Foundation<br>
2323 Licensed under the PSF License.
2424 HTML
2525
26− # In order to download the documentation, run:
27− # $ mkdir -p docs/python~3.8 && \
28− # cd docs/python~3.8 && \
29− # curl -L https://docs.python.org/3.8/archives/python-3.8.0-docs-html.tar.bz2 | \
30− # tar xj --strip-components=1
31−
3226 version '3.8' do # docs.python.org/3.8/download.html
33− self.release = '3.8.0'
27+ self.release = '3.8.1'
3428 self.base_url = 'https://docs.python.org/3.8/'
3529
3630 html_filters.push 'python/entries_v3', 'sphinx/clean_html', 'python/clean_html'
3731 end
3832
3933 version '3.7' do # docs.python.org/3.7/download.html
40− self.release = '3.7.5'
34+ self.release = '3.7.6'
4135 self.base_url = 'https://docs.python.org/3.7/'
4236
4337 html_filters.push 'python/entries_v3', 'sphinx/clean_html', 'python/clean_html'
4438 end
4539
4640 version '3.6' do # docs.python.org/3.6/download.html
47− self.release = '3.6.9'
41+ self.release = '3.6.10'
4842 self.base_url = 'https://docs.python.org/3.6/'
4943
5044 html_filters.push 'python/entries_v3', 'sphinx/clean_html', 'python/clean_html'
@@ -58,7 +52,7 @@ module Docs · 7 unmodified lines
5852 end
5953
6054 version '2.7' do # docs.python.org/2.7/download.html
61− self.release = '2.7.16'
55+ self.release = '2.7.17'
6256 self.base_url = 'https://docs.python.org/2.7/'
6357
6458 html_filters.push 'python/entries_v2', 'sphinx/clean_html', 'python/clean_html'