Update webpack documentation (5.72.0)

pull/1747/head
Simon Legner 3 years ago
parent 6302525a16
commit 0f81af8616

@ -22,9 +22,9 @@ module Docs
def additional_entries
if slug.start_with?('configuration')
css('h2[id]').each_with_object [] do |node, entries|
css('h2 > [id]').each_with_object [] do |node, entries|
next if version.to_f < 5 && node.previous.try(:content).present?
entries << [node.content, node['id']]
entries << [node.parent.content, node['id']]
end
elsif slug.start_with?('api') && slug != 'api/parser'
css('.header[id] code').each_with_object [] do |node, entries|

@ -36,7 +36,7 @@ module Docs
HTML
version '5' do
self.release = '5.65.0'
self.release = '5.72.0'
self.base_url = 'https://webpack.js.org/'
end

Loading…
Cancel
Save