Fixes #183.
Unified · Split
| @@ -39,7 +39,7 @@ module Docs · 38 unmodified lines | |||
| 39 | end | 39 | end |
| 40 | 40 | ||
| 41 | def include_default_entry? | 41 | def include_default_entry? |
| 42 | at_css('#sidebar a[href="index"]') | 42 | at_css('#sidebar a[href="index"]') || at_css('h1 ~ .section') |
| 43 | end | 43 | end |
| 44 | end | 44 | end |
| 45 | end | 45 | end |
| @@ -2,9 +2,9 @@ module Docs · 1 unmodified line | |||
| 2 | class Django < FileScraper | 2 | class Django < FileScraper |
| 3 | self.name = 'Django' | 3 | self.name = 'Django' |
| 4 | self.type = 'sphinx' | 4 | self.type = 'sphinx' |
| 5 | self.version = '1.7.6' | 5 | self.version = '1.8.0' |
| 6 | self.dir = '/Users/Thibaut/DevDocs/Docs/Django' | 6 | self.dir = '/Users/Thibaut/DevDocs/Docs/Django' |
| 7 | self.base_url = 'https://docs.djangoproject.com/en/1.7/' | 7 | self.base_url = 'https://docs.djangoproject.com/en/1.8/' |
| 8 | self.root_path = 'index.html' | 8 | self.root_path = 'index.html' |
| 9 | self.links = { | 9 | self.links = { |
| 10 | home: 'https://www.djangoproject.com/', | 10 | home: 'https://www.djangoproject.com/', |