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
2020 def additional_entries
2121 return [] unless subpath.start_with?('helpers') && subpath != 'helpers/'
2222
23− css('h2').each_with_object [] do |node, entries|
24− next if node['id'] == 'access-from-helpers'
23+ css('h2, h3').each_with_object [] do |node, entries|
24+ next if node['id'] == 'access-from-helpers' || node.content !~ /\s*[a-z_]/
2525 entries << ["#{node.content} (#{name})", node['id']]
2626 end
2727 end
lib/docs/scrapers/codeceptjs.rb+1−1
@@ -3,7 +3,7 @@ module Docs · 2 unmodified lines
33 self.name = 'CodeceptJS'
44 self.type = 'simple'
55 self.root_path = 'index.html'
6− self.release = '1.3.1'
6+ self.release = '1.4.4'
77 self.base_url = 'https://codecept.io/'
88 self.links = {
99 home: 'https://codecept.io/',