History

Update CodeceptJS documentation (1.4.4)

Thibaut Courouble committed 8 years ago

Commit 459ecfd1 parent 87d87d42 files · +3 −3Browse files

Unified · Split

2 files
  1. lib/docs/filters/codeceptjs/entries.rb +2 −2
  2. lib/docs/scrapers/codeceptjs.rb +1 −1
lib/docs/filters/codeceptjs/entries.rb+2−2
@@ -20,8 +20,8 @@ module Docs · 19 unmodified lines
20 def additional_entries20 def additional_entries
21 return [] unless subpath.start_with?('helpers') && subpath != 'helpers/'21 return [] unless subpath.start_with?('helpers') && subpath != 'helpers/'
22 22
23 css('h2').each_with_object [] do |node, entries|23 css('h2, h3').each_with_object [] do |node, entries|
24 next if node['id'] == 'access-from-helpers'24 next if node['id'] == 'access-from-helpers' || node.content !~ /\s*[a-z_]/
25 entries << ["#{node.content} (#{name})", node['id']]25 entries << ["#{node.content} (#{name})", node['id']]
26 end26 end
27 end27 end
lib/docs/scrapers/codeceptjs.rb+1−1
@@ -3,7 +3,7 @@ module Docs · 2 unmodified lines
3 self.name = 'CodeceptJS'3 self.name = 'CodeceptJS'
4 self.type = 'simple'4 self.type = 'simple'
5 self.root_path = 'index.html'5 self.root_path = 'index.html'
6 self.release = '1.3.1'6 self.release = '1.4.4'
7 self.base_url = 'https://codecept.io/'7 self.base_url = 'https://codecept.io/'
8 self.links = {8 self.links = {
9 home: 'https://codecept.io/',9 home: 'https://codecept.io/',