Showing the changes to lib/docs/scrapers/python.rb (1 of 20 files). Show all
Unified · Split
| @@ -23,22 +23,30 @@ module Docs · 22 unmodified lines | |||
| 23 | Licensed under the PSF License. | 23 | Licensed under the PSF License. |
| 24 | HTML | 24 | HTML |
| 25 | 25 | ||
| 26 | # mkdir -p docs/python~3.9 && cd docs/python~3.9 && curl -L https://docs.python.org/3.9/archives/python-3.9.0-docs-html.tar.bz2 | tar xj --strip-components=1 | ||
| 27 | version '3.9' do # docs.python.org/3.9/download.html | ||
| 28 | self.release = '3.9.0' | ||
| 29 | self.base_url = 'https://docs.python.org/3.9/' | ||
| 30 | |||
| 31 | html_filters.push 'python/entries_v3', 'sphinx/clean_html', 'python/clean_html' | ||
| 32 | end | ||
| 33 | |||
| 26 | version '3.8' do # docs.python.org/3.8/download.html | 34 | version '3.8' do # docs.python.org/3.8/download.html |
| 27 | self.release = '3.8.1' | 35 | self.release = '3.8.6' |
| 28 | self.base_url = 'https://docs.python.org/3.8/' | 36 | self.base_url = 'https://docs.python.org/3.8/' |
| 29 | 37 | ||
| 30 | html_filters.push 'python/entries_v3', 'sphinx/clean_html', 'python/clean_html' | 38 | html_filters.push 'python/entries_v3', 'sphinx/clean_html', 'python/clean_html' |
| 31 | end | 39 | end |
| 32 | 40 | ||
| 33 | version '3.7' do # docs.python.org/3.7/download.html | 41 | version '3.7' do # docs.python.org/3.7/download.html |
| 34 | self.release = '3.7.6' | 42 | self.release = '3.7.9' |
| 35 | self.base_url = 'https://docs.python.org/3.7/' | 43 | self.base_url = 'https://docs.python.org/3.7/' |
| 36 | 44 | ||
| 37 | html_filters.push 'python/entries_v3', 'sphinx/clean_html', 'python/clean_html' | 45 | html_filters.push 'python/entries_v3', 'sphinx/clean_html', 'python/clean_html' |
| 38 | end | 46 | end |
| 39 | 47 | ||
| 40 | version '3.6' do # docs.python.org/3.6/download.html | 48 | version '3.6' do # docs.python.org/3.6/download.html |
| 41 | self.release = '3.6.10' | 49 | self.release = '3.6.12' |
| 42 | self.base_url = 'https://docs.python.org/3.6/' | 50 | self.base_url = 'https://docs.python.org/3.6/' |
| 43 | 51 | ||
| 44 | html_filters.push 'python/entries_v3', 'sphinx/clean_html', 'python/clean_html' | 52 | html_filters.push 'python/entries_v3', 'sphinx/clean_html', 'python/clean_html' |