History

Update Python documentation (3.6.1, 3.5.3, 2.7.13)

Fixes #563.

Thibaut Courouble committed 9 years ago

Commit ff359bd1 parent 30f38993 files · +10 −6Browse files

Showing the changes to lib/docs/scrapers/python.rb (1 of 3 files). Show all

Unified · Split

lib/docs/scrapers/python.rb+8−4
@@ -2,6 +2,10 @@ module Docs · 1 unmodified line
2 class Python < FileScraper2 class Python < FileScraper
3 self.type = 'sphinx'3 self.type = 'sphinx'
4 self.root_path = 'library/index.html'4 self.root_path = 'library/index.html'
5 self.links = {
6 home: 'https://www.python.org/',
7 code: 'https://github.com/python/cpython'
8 }
5 9
6 options[:only_patterns] = [/\Alibrary\//]10 options[:only_patterns] = [/\Alibrary\//]
7 11
@@ -15,12 +19,12 @@ module Docs · 7 unmodified lines
15 library/sunau.html)19 library/sunau.html)
16 20
17 options[:attribution] = <<-HTML21 options[:attribution] = <<-HTML
18 &copy; 1990&ndash;2015 Python Software Foundation<br>22 &copy; 2001&ndash;2017 Python Software Foundation<br>
19 Licensed under the PSF License.23 Licensed under the PSF License.
20 HTML24 HTML
21 25
22 version '3.6' do26 version '3.6' do
23 self.release = '3.6.0'27 self.release = '3.6.1'
24 self.dir = '/Users/Thibaut/DevDocs/Docs/Python36' # docs.python.org/3.6/download.html28 self.dir = '/Users/Thibaut/DevDocs/Docs/Python36' # docs.python.org/3.6/download.html
25 self.base_url = 'https://docs.python.org/3.6/'29 self.base_url = 'https://docs.python.org/3.6/'
26 30
@@ -28,7 +32,7 @@ module Docs · 1 unmodified line
28 end32 end
29 33
30 version '3.5' do34 version '3.5' do
31 self.release = '3.5.2'35 self.release = '3.5.3'
32 self.dir = '/Users/Thibaut/DevDocs/Docs/Python35' # docs.python.org/3.5/download.html36 self.dir = '/Users/Thibaut/DevDocs/Docs/Python35' # docs.python.org/3.5/download.html
33 self.base_url = 'https://docs.python.org/3.5/'37 self.base_url = 'https://docs.python.org/3.5/'
34 38
@@ -36,7 +40,7 @@ module Docs · 1 unmodified line
36 end40 end
37 41
38 version '2.7' do42 version '2.7' do
39 self.release = '2.7.12'43 self.release = '2.7.13'
40 self.dir = '/Users/Thibaut/DevDocs/Docs/Python27' # docs.python.org/2.7/download.html44 self.dir = '/Users/Thibaut/DevDocs/Docs/Python27' # docs.python.org/2.7/download.html
41 self.base_url = 'https://docs.python.org/2.7/'45 self.base_url = 'https://docs.python.org/2.7/'
42 46

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