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
22 class Python < FileScraper
33 self.type = 'sphinx'
44 self.root_path = 'library/index.html'
5+ self.links = {
6+ home: 'https://www.python.org/',
7+ code: 'https://github.com/python/cpython'
8+ }
59
610 options[:only_patterns] = [/\Alibrary\//]
711
@@ -15,12 +19,12 @@ module Docs · 7 unmodified lines
1519 library/sunau.html)
1620
1721 options[:attribution] = <<-HTML
18− &copy; 1990&ndash;2015 Python Software Foundation<br>
22+ &copy; 2001&ndash;2017 Python Software Foundation<br>
1923 Licensed under the PSF License.
2024 HTML
2125
2226 version '3.6' do
23− self.release = '3.6.0'
27+ self.release = '3.6.1'
2428 self.dir = '/Users/Thibaut/DevDocs/Docs/Python36' # docs.python.org/3.6/download.html
2529 self.base_url = 'https://docs.python.org/3.6/'
2630
@@ -28,7 +32,7 @@ module Docs · 1 unmodified line
2832 end
2933
3034 version '3.5' do
31− self.release = '3.5.2'
35+ self.release = '3.5.3'
3236 self.dir = '/Users/Thibaut/DevDocs/Docs/Python35' # docs.python.org/3.5/download.html
3337 self.base_url = 'https://docs.python.org/3.5/'
3438
@@ -36,7 +40,7 @@ module Docs · 1 unmodified line
3640 end
3741
3842 version '2.7' do
39− self.release = '2.7.12'
43+ self.release = '2.7.13'
4044 self.dir = '/Users/Thibaut/DevDocs/Docs/Python27' # docs.python.org/2.7/download.html
4145 self.base_url = 'https://docs.python.org/2.7/'
4246

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