| @@ -19,12 +19,25 @@ 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–2018 Python Software Foundation<br> | 22 | © 2001–2019 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 |
| | 33 | self.release = '3.8.0' |
| | 34 | self.base_url = 'https://docs.python.org/3.8/' |
| | 35 | |
| | 36 | html_filters.push 'python/entries_v3', 'sphinx/clean_html', 'python/clean_html' |
| | 37 | end |
| | 38 | |
| 26 | version '3.7' do # docs.python.org/3.7/download.html | 39 | version '3.7' do # docs.python.org/3.7/download.html |
| 27 | self.release = '3.7.4' | 40 | self.release = '3.7.5' |
| 28 | self.base_url = 'https://docs.python.org/3.7/' | 41 | self.base_url = 'https://docs.python.org/3.7/' |
| 29 | | 42 | |
| 30 | html_filters.push 'python/entries_v3', 'sphinx/clean_html', 'python/clean_html' | 43 | html_filters.push 'python/entries_v3', 'sphinx/clean_html', 'python/clean_html' |
| @@ -38,7 +51,7 @@ module Docs · 7 unmodified lines |
| 38 | end | 51 | end |
| 39 | | 52 | |
| 40 | version '3.5' do # docs.python.org/3.5/download.html | 53 | version '3.5' do # docs.python.org/3.5/download.html |
| 41 | self.release = '3.5.7' | 54 | self.release = '3.5.9' |
| 42 | self.base_url = 'https://docs.python.org/3.5/' | 55 | self.base_url = 'https://docs.python.org/3.5/' |
| 43 | | 56 | |
| 44 | html_filters.push 'python/entries_v3', 'sphinx/clean_html', 'python/clean_html' | 57 | html_filters.push 'python/entries_v3', 'sphinx/clean_html', 'python/clean_html' |