mirror of
https://github.com/freeCodeCamp/devdocs
synced 2024-11-16 19:48:10 +01:00
Update webpack documentation (3.8.1)
This commit is contained in:
parent
c76161b1f7
commit
a2c0a50894
2 changed files with 3 additions and 3 deletions
|
@ -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']]
|
||||
|
|
|
@ -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(
|
||||
|
|
Loading…
Reference in a new issue