Update Python 2 documentation (2.7.9)

Fixes #203.
pull/210/merge
Thibaut 10 years ago
parent 0a09c8904e
commit 480aede40c

@ -292,7 +292,7 @@ credits = [
'http://www.postgresql.org/about/licence/'
], [
'Python',
'1990-2014 Python Software Foundation<br>Python is a trademark of the Python Software Foundation.',
'1990-2015 Python Software Foundation<br>Python is a trademark of the Python Software Foundation.',
'PSFL',
'http://docs.python.org/3/license.html'
], [

@ -51,7 +51,7 @@ module Docs
end
# Remove code highlighting
css('.highlight-python3').each do |node|
css('[class*="highlight-python"]').each do |node|
pre = node.at_css('pre')
pre.content = pre.content
pre['class'] = 'python'

@ -2,7 +2,7 @@ module Docs
class Python2 < FileScraper
self.name = 'Python 2'
self.slug = 'python2'
self.version = '2.7.8'
self.version = '2.7.9'
self.type = 'sphinx'
self.dir = '/Users/Thibaut/DevDocs/Docs/Python2' # downloaded from docs.python.org/2.7/download.html
self.base_url = 'http://docs.python.org/2.7/'
@ -22,7 +22,7 @@ module Docs
library/sunau.html)
options[:attribution] = <<-HTML
&copy; 1990&ndash;2014 Python Software Foundation<br>
&copy; 1990&ndash;2015 Python Software Foundation<br>
Licensed under the PSF License.
HTML
end

Loading…
Cancel
Save