Fix missing pages in Python docs

Fix #262.
pull/241/merge
Thibaut 10 years ago
parent 66cefbdfd3
commit 05b38d867c

@ -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

@ -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

@ -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/'

Loading…
Cancel
Save