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