Fix Node.js entries filter to capture more methods

This commit is contained in:
Tim Lim 2023-10-03 19:59:39 +08:00
parent 3b433a29f0
commit 8107165945

View file

@ -13,7 +13,7 @@ module Docs
def additional_entries
entries = []
css('h3 > code, h4 > code, h5 > code').each do |node|
css('h3 > code, h4 > code, h5 > code, h6 > code').each do |node|
name = node.content.gsub(/\(.*\)/, '()')
id = node.parent['id']