History

python: add version 3.8

Simon Legner committed 6 years ago

Commit 362d1531 parent 58c44bf2 files · +17 −4Browse files

Unified · Split

2 files
  1. assets/javascripts/templates/pages/about_tmpl.coffee +1 −1
  2. lib/docs/scrapers/python.rb +16 −3
assets/javascripts/templates/pages/about_tmpl.coffee+1−1
@@ -613,7 +613,7 @@ credits = [ · 612 unmodified lines
613 'https://raw.githubusercontent.com/pygame/pygame/master/LICENSE'613 'https://raw.githubusercontent.com/pygame/pygame/master/LICENSE'
614 ], [614 ], [
615 'Python',615 'Python',
616 '2001-2018 Python Software Foundation<br>Python is a trademark of the Python Software Foundation.',616 '2001-2019 Python Software Foundation<br>Python is a trademark of the Python Software Foundation.',
617 'PSFL',617 'PSFL',
618 'https://docs.python.org/3/license.html'618 'https://docs.python.org/3/license.html'
619 ], [619 ], [
lib/docs/scrapers/python.rb+16−3
@@ -19,12 +19,25 @@ module Docs · 18 unmodified lines
19 library/sunau.html)19 library/sunau.html)
20 20
21 options[:attribution] = <<-HTML21 options[:attribution] = <<-HTML
22 &copy; 2001&ndash;2018 Python Software Foundation<br>22 &copy; 2001&ndash;2019 Python Software Foundation<br>
23 Licensed under the PSF License.23 Licensed under the PSF License.
24 HTML24 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.html39 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 end51 end
39 52
40 version '3.5' do # docs.python.org/3.5/download.html53 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'