diff --git a/lib/docs/filters/python/entries.rb b/lib/docs/filters/python/entries.rb index 17a90823..2f7d6e1f 100644 --- a/lib/docs/filters/python/entries.rb +++ b/lib/docs/filters/python/entries.rb @@ -45,7 +45,7 @@ module Docs end def include_default_entry? - !at_css('.body > .section:only-child > .toctree-wrapper:last-child') && !type.in?(%w(Language Superseded)) + !at_css('.body > .section:only-child > .toctree-wrapper:last-child') && !type.in?(%w(Superseded)) end def additional_entries diff --git a/lib/docs/filters/python2/entries.rb b/lib/docs/filters/python2/entries.rb index e0916243..453f4d19 100644 --- a/lib/docs/filters/python2/entries.rb +++ b/lib/docs/filters/python2/entries.rb @@ -49,7 +49,7 @@ module Docs end def include_default_entry? - !at_css('.body > .section:only-child > .toctree-wrapper:last-child') && !type.in?(%w(Language Superseded SunOS)) + !at_css('.body > .section:only-child > .toctree-wrapper:last-child') && !type.in?(%w(Superseded SunOS)) end def additional_entries diff --git a/lib/docs/scrapers/python2.rb b/lib/docs/scrapers/python2.rb index 5a2d2033..31000bf7 100644 --- a/lib/docs/scrapers/python2.rb +++ b/lib/docs/scrapers/python2.rb @@ -2,7 +2,7 @@ module Docs class Python2 < FileScraper self.name = 'Python 2' self.slug = 'python2' - self.version = '2.7.9' + self.version = '2.7.10' 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/'