Browse Source

Update Codeception documentation (2.3.3)

Thibaut Courouble 8 years ago
parent
commit
bf97d5c476
2 changed files with 2 additions and 2 deletions
  1. 1 1
      lib/docs/filters/codeception/clean_html.rb
  2. 1 1
      lib/docs/scrapers/codeception.rb

+ 1 - 1
lib/docs/filters/codeception/clean_html.rb

@@ -2,7 +2,7 @@ module Docs
   class Codeception
     class CleanHtmlFilter < Filter
       def call
-        @doc = doc.at_css('div.page, div.content')
+        @doc = doc.at_css('#page')
 
         while doc.element_children.length == 1
           doc.first_element_child.before(doc.first_element_child.children).remove

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

@@ -2,7 +2,7 @@ module Docs
   class Codeception < UrlScraper
     self.name = 'Codeception'
     self.type = 'codeception'
-    self.release = '2.2.9'
+    self.release = '2.3.3'
     self.base_url = 'http://codeception.com/docs/'
     self.root_path = 'index.html'
     self.links = {