History

Update Python 2 documentation (2.7.9)

Fixes #203.

Thibaut committed 11 years ago

Commit 480aede1 parent 0a09c893 files · +4 −4Browse files

Unified · Split

3 files
  1. assets/javascripts/templates/pages/about_tmpl.coffee +1 −1
  2. lib/docs/filters/python/clean_html.rb +1 −1
  3. lib/docs/scrapers/python2.rb +2 −2
assets/javascripts/templates/pages/about_tmpl.coffee+1−1
@@ -292,7 +292,7 @@ credits = [ · 291 unmodified lines
292292 'http://www.postgresql.org/about/licence/'
293293 ], [
294294 '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.',
296296 'PSFL',
297297 'http://docs.python.org/3/license.html'
298298 ], [
lib/docs/filters/python/clean_html.rb+1−1
@@ -51,7 +51,7 @@ module Docs · 50 unmodified lines
5151 end
5252
5353 # Remove code highlighting
54− css('.highlight-python3').each do |node|
54+ css('[class*="highlight-python"]').each do |node|
5555 pre = node.at_css('pre')
5656 pre.content = pre.content
5757 pre['class'] = 'python'
lib/docs/scrapers/python2.rb+2−2
@@ -2,7 +2,7 @@ module Docs · 1 unmodified line
22 class Python2 < FileScraper
33 self.name = 'Python 2'
44 self.slug = 'python2'
5− self.version = '2.7.8'
5+ self.version = '2.7.9'
66 self.type = 'sphinx'
77 self.dir = '/Users/Thibaut/DevDocs/Docs/Python2' # downloaded from docs.python.org/2.7/download.html
88 self.base_url = 'http://docs.python.org/2.7/'
@@ -22,7 +22,7 @@ module Docs · 13 unmodified lines
2222 library/sunau.html)
2323
2424 options[:attribution] = <<-HTML
25− &copy; 1990&ndash;2014 Python Software Foundation<br>
25+ &copy; 1990&ndash;2015 Python Software Foundation<br>
2626 Licensed under the PSF License.
2727 HTML
2828 end