History

Merge pull request #1065 from simon04/yarn

Jasper van Merle committed 7 years ago

Commit 166e4b52 parents 58202eb 740e8c42 files · +4 −1Browse files

Unified · Split

2 files
  1. lib/docs/filters/yarn/clean_html.rb +3 −0
  2. lib/docs/scrapers/yarn.rb +1 −1
lib/docs/filters/yarn/clean_html.rb+3−0
@@ -27,6 +27,9 @@ module Docs · 26 unmodified lines
2727
2828 css('a.toc', '.nav-tabs', '#select-platform', '.guide-controls + .list-group', '.guide-controls').remove
2929
30+ css('.install-select-os', '#install-instructions > .install-os-instructions:first-child').remove
31+ css('.install-os-instructions[style]').remove_attribute('style')
32+
3033 css('.guide-content', '.tabs', '.tab-content').each do |node|
3134 node.before(node.children).remove
3235 end
lib/docs/scrapers/yarn.rb+1−1
@@ -1,7 +1,7 @@
11 module Docs
22 class Yarn < UrlScraper
33 self.type = 'simple'
4− self.release = '1.12.1'
4+ self.release = '1.17.3'
55 self.base_url = 'https://yarnpkg.com/en/docs/'
66 self.links = {
77 home: 'https://yarnpkg.com/',