Merge pull request #2067 from thewheat/update-node-filter

Fix Node.js entries filter to capture more methods
pull/2077/head
Simon Legner 1 year ago committed by GitHub
commit 83fd1d955f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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']

@ -24,12 +24,12 @@ module Docs
HTML
version do
self.release = '19.0.1'
self.release = '20.8.0'
self.base_url = 'https://nodejs.org/api/'
end
version '18 LTS' do
self.release = '18.12.1'
self.release = '18.18.0'
self.base_url = 'https://nodejs.org/dist/latest-v18.x/docs/api/'
end

Loading…
Cancel
Save