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
3939 end
4040
4141 def include_default_entry?
42− at_css('#sidebar a[href="index"]')
42+ at_css('#sidebar a[href="index"]') || at_css('h1 ~ .section')
4343 end
4444 end
4545 end
lib/docs/scrapers/django.rb+2−2
@@ -2,9 +2,9 @@ module Docs · 1 unmodified line
22 class Django < FileScraper
33 self.name = 'Django'
44 self.type = 'sphinx'
5− self.version = '1.7.6'
5+ self.version = '1.8.0'
66 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/'
88 self.root_path = 'index.html'
99 self.links = {
1010 home: 'https://www.djangoproject.com/',