Update webpack documentation (3.6.0)

pull/667/merge
Thibaut Courouble 7 years ago
parent f1163ad4d4
commit eda419e6f1

@ -26,10 +26,12 @@ module Docs
next if node.previous.try(:content).present?
entries << [node.content, node.parent['id']]
end
elsif slug.start_with?('api')
elsif slug.start_with?('api') && slug != 'api/plugins/parser'
css('.header[id] code').each_with_object [] do |node, entries|
next if node.previous.try(:content).present?
entries << ["#{self.name.split(':').first}: #{node.content.sub(/\(.*\)/, '()')}", node.parent['id']]
name = node.content.sub(/\(.*\)/, '()')
name.prepend "#{self.name.split(':').first}: "
entries << [name, node.parent['id']]
end
else
[]

@ -4,7 +4,7 @@ module Docs
self.type = 'webpack'
version do
self.release = '3.5.5'
self.release = '3.6.0'
self.base_url = 'https://webpack.js.org/'
self.root_path = 'guides/'
self.initial_paths = %w(

Loading…
Cancel
Save