瀏覽代碼

Update React Django documentation (1.8.6)

Fixes #280.
Thibaut 10 年之前
父節點
當前提交
a796be9202
共有 2 個文件被更改,包括 1 次插入5 次删除
  1. 0 4
      lib/docs/filters/django/entries.rb
  2. 1 1
      lib/docs/scrapers/django.rb

+ 0 - 4
lib/docs/filters/django/entries.rb

@@ -37,10 +37,6 @@ module Docs
 
         entries
       end
-
-      def include_default_entry?
-        at_css('#sidebar a[href="index"]') || at_css('h1 ~ .section')
-      end
     end
   end
 end

+ 1 - 1
lib/docs/scrapers/django.rb

@@ -2,7 +2,7 @@ module Docs
   class Django < FileScraper
     self.name = 'Django'
     self.type = 'sphinx'
-    self.version = '1.8.4'
+    self.version = '1.8.6'
     self.dir = '/Users/Thibaut/DevDocs/Docs/Django'
     self.base_url = 'https://docs.djangoproject.com/en/1.8/'
     self.root_path = 'index.html'