History

Update webpack documentation (3.8.1)

Thibaut Courouble committed 9 years ago

Commit a2c0a501 parent c76161b2 files · +3 −3Browse files

Unified · Split

2 files
  1. lib/docs/filters/webpack/entries.rb +2 −2
  2. lib/docs/scrapers/webpack.rb +1 −1
lib/docs/filters/webpack/entries.rb+2−2
@@ -26,9 +26,9 @@ module Docs · 25 unmodified lines
2626 next if node.previous.try(:content).present?
2727 entries << [node.content, node.parent['id']]
2828 end
29− elsif slug.start_with?('api') && slug != 'api/plugins/parser'
29+ elsif slug.start_with?('api') && slug != 'api/parser'
3030 css('.header[id] code').each_with_object [] do |node, entries|
31− next if node.previous.try(:content).present?
31+ next if node.previous.try(:content).present? || node.next.try(:content).present?
3232 name = node.content.sub(/\(.*\)/, '()')
3333 name.prepend "#{self.name.split(':').first}: "
3434 entries << [name, node.parent['id']]
lib/docs/scrapers/webpack.rb+1−1
@@ -4,7 +4,7 @@ module Docs · 3 unmodified lines
44 self.type = 'webpack'
55
66 version do
7− self.release = '3.6.0'
7+ self.release = '3.8.1'
88 self.base_url = 'https://webpack.js.org/'
99 self.root_path = 'guides/'
1010 self.initial_paths = %w(

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t