Unified · Split
| @@ -27,6 +27,9 @@ module Docs · 26 unmodified lines | |||
| 27 | 27 | ||
| 28 | css('a.toc', '.nav-tabs', '#select-platform', '.guide-controls + .list-group', '.guide-controls').remove | 28 | css('a.toc', '.nav-tabs', '#select-platform', '.guide-controls + .list-group', '.guide-controls').remove |
| 29 | 29 | ||
| 30 | css('.install-select-os', '#install-instructions > .install-os-instructions:first-child').remove | ||
| 31 | css('.install-os-instructions[style]').remove_attribute('style') | ||
| 32 | |||
| 30 | css('.guide-content', '.tabs', '.tab-content').each do |node| | 33 | css('.guide-content', '.tabs', '.tab-content').each do |node| |
| 31 | node.before(node.children).remove | 34 | node.before(node.children).remove |
| 32 | end | 35 | end |
| @@ -1,7 +1,7 @@ | |||
| 1 | module Docs | 1 | module Docs |
| 2 | class Yarn < UrlScraper | 2 | class Yarn < UrlScraper |
| 3 | self.type = 'simple' | 3 | self.type = 'simple' |
| 4 | self.release = '1.12.1' | 4 | self.release = '1.17.3' |
| 5 | self.base_url = 'https://yarnpkg.com/en/docs/' | 5 | self.base_url = 'https://yarnpkg.com/en/docs/' |
| 6 | self.links = { | 6 | self.links = { |
| 7 | home: 'https://yarnpkg.com/', | 7 | home: 'https://yarnpkg.com/', |