History

Update Django documentation (1.8.0)

Fixes #183.

Thibaut committed 11 years ago

Commit e52bbcd1 parent 2eccb7e2 files · +3 −3Browse files

Unified · Split

2 files
  1. lib/docs/filters/django/entries.rb +1 −1
  2. lib/docs/scrapers/django.rb +2 −2
lib/docs/filters/django/entries.rb+1−1
@@ -39,7 +39,7 @@ module Docs · 38 unmodified lines
39 end39 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 end43 end
44 end44 end
45 end45 end
lib/docs/scrapers/django.rb+2−2
@@ -2,9 +2,9 @@ module Docs · 1 unmodified line
2 class Django < FileScraper2 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/',