mirror of
https://github.com/freeCodeCamp/devdocs
synced 2024-11-16 19:48:10 +01:00
Fix Node.js entries filter to capture more methods
This commit is contained in:
parent
3b433a29f0
commit
8107165945
1 changed files with 1 additions and 1 deletions
|
@ -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']
|
||||
|
||||
|
|
Loading…
Reference in a new issue