|
|
@ -48,8 +48,8 @@ module Docs
|
|
|
|
[name, id]
|
|
|
|
[name, id]
|
|
|
|
end
|
|
|
|
end
|
|
|
|
elsif slug == 'error-index'
|
|
|
|
elsif slug == 'error-index'
|
|
|
|
css('.error-described h2.section-header').map do |node|
|
|
|
|
css('.error-described h2.section-header').each_with_object [] do |node, entries|
|
|
|
|
[node.content, node['id']]
|
|
|
|
entries << [node.content, node['id']] unless node.content.include?('Note:')
|
|
|
|
end
|
|
|
|
end
|
|
|
|
else
|
|
|
|
else
|
|
|
|
css('#methods + * + div > .method', '#required-methods + div > .method', '#provided-methods + div > .method').map do |node|
|
|
|
|
css('#methods + * + div > .method', '#required-methods + div > .method', '#provided-methods + div > .method').map do |node|
|
|
|
|