Fix Missing Jest Documentation

The Jest documentation was missing most of the items that should have
been under "The Jest Object". This updates the CSS selector is get
all the nodes for the API pages.
pull/1140/head
Jason Butz 5 years ago
parent 58c44bf332
commit 0b6d2f051d

@ -22,7 +22,7 @@ module Docs
entries = []
at_css('.mainContainer ul').css('li > a').each do |node|
at_css('.mainContainer h2 + ul, ul.toc-headings').css('li > a').each do |node|
code = node.at_css('code')
next if code.nil?
@ -35,7 +35,6 @@ module Docs
entries << [name, id]
end
entries
end
end

Loading…
Cancel
Save