Update Yarn documentation (4.5.1)

pull/2368/head
Simon Legner 2 months ago
parent 2216cb46cf
commit d45d1435eb

@ -12,7 +12,7 @@ module Docs
Licensed under the BSD License.
HTML
version 'Berry' do
version do
self.release = '4.5.1'
self.base_url = 'https://yarnpkg.com/'
self.links = {
@ -25,6 +25,18 @@ module Docs
options[:skip_patterns] = [/\Aapi/, /\Ablog/, /\Apackage/, /\Aassets/]
end
version '3' do
self.release = '3.1.1'
self.base_url = 'https://v3.yarnpkg.com/'
self.links = {
home: 'https://v3.yarnpkg.com/',
code: 'https://github.com/yarnpkg/berry'
}
self.root_path = 'getting-started'
html_filters.push 'yarn/entries_berry', 'yarn/clean_html_berry', 'title'
options[:skip] = ['features', 'cli', 'configuration', 'advanced']
options[:skip_patterns] = [/\Aapi/, /\Apackage/] end
version 'Classic' do
self.release = '1.22.17'
self.base_url = 'https://classic.yarnpkg.com/en/docs/'

Loading…
Cancel
Save