History

Merge pull request #1130 from simon04/python

Jed Fox committed 6 years ago

Commit 428afb12 parents d475f24 362d1532 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
613613 'https://raw.githubusercontent.com/pygame/pygame/master/LICENSE'
614614 ], [
615615 '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.',
617617 'PSFL',
618618 'https://docs.python.org/3/license.html'
619619 ], [
lib/docs/scrapers/python.rb+16−3
@@ -19,12 +19,25 @@ module Docs · 18 unmodified lines
1919 library/sunau.html)
2020
2121 options[:attribution] = <<-HTML
22− &copy; 2001&ndash;2018 Python Software Foundation<br>
22+ &copy; 2001&ndash;2019 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+
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+
2639 version '3.7' do # docs.python.org/3.7/download.html
27− self.release = '3.7.4'
40+ self.release = '3.7.5'
2841 self.base_url = 'https://docs.python.org/3.7/'
2942
3043 html_filters.push 'python/entries_v3', 'sphinx/clean_html', 'python/clean_html'
@@ -38,7 +51,7 @@ module Docs · 7 unmodified lines
3851 end
3952
4053 version '3.5' do # docs.python.org/3.5/download.html
41− self.release = '3.5.7'
54+ self.release = '3.5.9'
4255 self.base_url = 'https://docs.python.org/3.5/'
4356
4457 html_filters.push 'python/entries_v3', 'sphinx/clean_html', 'python/clean_html'

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t