| @@ -19,32 +19,26 @@ module Docs · 18 unmodified lines |
| 19 | library/sunau.html) | 19 | library/sunau.html) |
| 20 | | 20 | |
| 21 | options[:attribution] = <<-HTML | 21 | options[:attribution] = <<-HTML |
| 22 | © 2001–2019 Python Software Foundation<br> | 22 | © 2001–2020 Python Software Foundation<br> |
| 23 | Licensed under the PSF License. | 23 | Licensed under the PSF License. |
| 24 | HTML | 24 | HTML |
| 25 | | 25 | |
| 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 | | | |
| 32 | version '3.8' do # docs.python.org/3.8/download.html | 26 | version '3.8' do # docs.python.org/3.8/download.html |
| 33 | self.release = '3.8.0' | 27 | self.release = '3.8.1' |
| 34 | self.base_url = 'https://docs.python.org/3.8/' | 28 | self.base_url = 'https://docs.python.org/3.8/' |
| 35 | | 29 | |
| 36 | html_filters.push 'python/entries_v3', 'sphinx/clean_html', 'python/clean_html' | 30 | html_filters.push 'python/entries_v3', 'sphinx/clean_html', 'python/clean_html' |
| 37 | end | 31 | end |
| 38 | | 32 | |
| 39 | version '3.7' do # docs.python.org/3.7/download.html | 33 | version '3.7' do # docs.python.org/3.7/download.html |
| 40 | self.release = '3.7.5' | 34 | self.release = '3.7.6' |
| 41 | self.base_url = 'https://docs.python.org/3.7/' | 35 | self.base_url = 'https://docs.python.org/3.7/' |
| 42 | | 36 | |
| 43 | html_filters.push 'python/entries_v3', 'sphinx/clean_html', 'python/clean_html' | 37 | html_filters.push 'python/entries_v3', 'sphinx/clean_html', 'python/clean_html' |
| 44 | end | 38 | end |
| 45 | | 39 | |
| 46 | version '3.6' do # docs.python.org/3.6/download.html | 40 | version '3.6' do # docs.python.org/3.6/download.html |
| 47 | self.release = '3.6.9' | 41 | self.release = '3.6.10' |
| 48 | self.base_url = 'https://docs.python.org/3.6/' | 42 | self.base_url = 'https://docs.python.org/3.6/' |
| 49 | | 43 | |
| 50 | html_filters.push 'python/entries_v3', 'sphinx/clean_html', 'python/clean_html' | 44 | html_filters.push 'python/entries_v3', 'sphinx/clean_html', 'python/clean_html' |
| @@ -58,7 +52,7 @@ module Docs · 7 unmodified lines |
| 58 | end | 52 | end |
| 59 | | 53 | |
| 60 | version '2.7' do # docs.python.org/2.7/download.html | 54 | version '2.7' do # docs.python.org/2.7/download.html |
| 61 | self.release = '2.7.16' | 55 | self.release = '2.7.17' |
| 62 | self.base_url = 'https://docs.python.org/2.7/' | 56 | self.base_url = 'https://docs.python.org/2.7/' |
| 63 | | 57 | |
| 64 | html_filters.push 'python/entries_v2', 'sphinx/clean_html', 'python/clean_html' | 58 | html_filters.push 'python/entries_v2', 'sphinx/clean_html', 'python/clean_html' |