Unified · Split
| @@ -29,6 +29,16 @@ module Docs · 28 unmodified lines | ||
| 29 | 29 | node.content = node.content.remove(' (click to show)') |
| 30 | 30 | end |
| 31 | 31 | |
| 32 | + css('.table-wrap').each do |node| | |
| 33 | + css('.table-td-title').remove | |
| 34 | + css('.table-th').each { |n| n.name = 'th' } | |
| 35 | + css('.table-td').each { |n| n.name = 'td' } | |
| 36 | + css('.table-tr').each { |n| n.name = 'tr' } | |
| 37 | + css('.table-body').each { |n| n.name = 'tbody' } | |
| 38 | + css('.table-header').each { |n| n.name = 'thead' } | |
| 39 | + node.name = 'table' | |
| 40 | + end | |
| 41 | + | |
| 32 | 42 | css('pre > code').each do |node| |
| 33 | 43 | node.parent['data-language'] = node['class'][/lang-(\w+)/, 1].sub('jsx', 'js') if node['class'] |
| 34 | 44 | node.parent.content = node.parent.content |
| @@ -4,7 +4,7 @@ module Docs · 3 unmodified lines | ||
| 4 | 4 | self.type = 'webpack' |
| 5 | 5 | |
| 6 | 6 | version '2' do |
| 7 | − self.release = '2.5.1' | |
| 7 | + self.release = '2.6.1' | |
| 8 | 8 | self.base_url = 'https://webpack.js.org/' |
| 9 | 9 | self.root_path = 'guides/get-started/' |
| 10 | 10 | self.initial_paths = %w( |