Update webpack documentation (3.8.1)

This commit is contained in:
Thibaut Courouble 2017-10-29 15:07:41 -04:00
parent c76161b1f7
commit a2c0a50894
2 changed files with 3 additions and 3 deletions

View file

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

View file

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