History

Update Yarn documentation (4.5.1)

Simon Legner committed 1 year ago

Commit d45d1431 parent 2216cb41 file · +13 −1Browse files

Unified · Split

lib/docs/scrapers/yarn.rb+13−1
@@ -12,7 +12,7 @@ module Docs · 11 unmodified lines
12 Licensed under the BSD License.12 Licensed under the BSD License.
13 HTML13 HTML
14 14
15 version 'Berry' do15 version do
16 self.release = '4.5.1'16 self.release = '4.5.1'
17 self.base_url = 'https://yarnpkg.com/'17 self.base_url = 'https://yarnpkg.com/'
18 self.links = {18 self.links = {
@@ -25,6 +25,18 @@ module Docs · 6 unmodified lines
25 options[:skip_patterns] = [/\Aapi/, /\Ablog/, /\Apackage/, /\Aassets/]25 options[:skip_patterns] = [/\Aapi/, /\Ablog/, /\Apackage/, /\Aassets/]
26 end26 end
27 27
28 version '3' do
29 self.release = '3.1.1'
30 self.base_url = 'https://v3.yarnpkg.com/'
31 self.links = {
32 home: 'https://v3.yarnpkg.com/',
33 code: 'https://github.com/yarnpkg/berry'
34 }
35 self.root_path = 'getting-started'
36 html_filters.push 'yarn/entries_berry', 'yarn/clean_html_berry', 'title'
37 options[:skip] = ['features', 'cli', 'configuration', 'advanced']
38 options[:skip_patterns] = [/\Aapi/, /\Apackage/] end
39
28 version 'Classic' do40 version 'Classic' do
29 self.release = '1.22.17'41 self.release = '1.22.17'
30 self.base_url = 'https://classic.yarnpkg.com/en/docs/'42 self.base_url = 'https://classic.yarnpkg.com/en/docs/'