Fixes #203.
Unified · Split
| @@ -292,7 +292,7 @@ credits = [ · 291 unmodified lines | |||
| 292 | 'http://www.postgresql.org/about/licence/' | 292 | 'http://www.postgresql.org/about/licence/' |
| 293 | ], [ | 293 | ], [ |
| 294 | 'Python', | 294 | 'Python', |
| 295 | '1990-2014 Python Software Foundation<br>Python is a trademark of the Python Software Foundation.', | 295 | '1990-2015 Python Software Foundation<br>Python is a trademark of the Python Software Foundation.', |
| 296 | 'PSFL', | 296 | 'PSFL', |
| 297 | 'http://docs.python.org/3/license.html' | 297 | 'http://docs.python.org/3/license.html' |
| 298 | ], [ | 298 | ], [ |
| @@ -51,7 +51,7 @@ module Docs · 50 unmodified lines | |||
| 51 | end | 51 | end |
| 52 | 52 | ||
| 53 | # Remove code highlighting | 53 | # Remove code highlighting |
| 54 | css('.highlight-python3').each do |node| | 54 | css('[class*="highlight-python"]').each do |node| |
| 55 | pre = node.at_css('pre') | 55 | pre = node.at_css('pre') |
| 56 | pre.content = pre.content | 56 | pre.content = pre.content |
| 57 | pre['class'] = 'python' | 57 | pre['class'] = 'python' |
| @@ -2,7 +2,7 @@ module Docs · 1 unmodified line | |||
| 2 | class Python2 < FileScraper | 2 | class Python2 < FileScraper |
| 3 | self.name = 'Python 2' | 3 | self.name = 'Python 2' |
| 4 | self.slug = 'python2' | 4 | self.slug = 'python2' |
| 5 | self.version = '2.7.8' | 5 | self.version = '2.7.9' |
| 6 | self.type = 'sphinx' | 6 | self.type = 'sphinx' |
| 7 | self.dir = '/Users/Thibaut/DevDocs/Docs/Python2' # downloaded from docs.python.org/2.7/download.html | 7 | self.dir = '/Users/Thibaut/DevDocs/Docs/Python2' # downloaded from docs.python.org/2.7/download.html |
| 8 | self.base_url = 'http://docs.python.org/2.7/' | 8 | self.base_url = 'http://docs.python.org/2.7/' |
| @@ -22,7 +22,7 @@ module Docs · 13 unmodified lines | |||
| 22 | library/sunau.html) | 22 | library/sunau.html) |
| 23 | 23 | ||
| 24 | options[:attribution] = <<-HTML | 24 | options[:attribution] = <<-HTML |
| 25 | © 1990–2014 Python Software Foundation<br> | 25 | © 1990–2015 Python Software Foundation<br> |
| 26 | Licensed under the PSF License. | 26 | Licensed under the PSF License. |
| 27 | HTML | 27 | HTML |
| 28 | end | 28 | end |