Update Vite documentation (5.4.11)

pull/2361/head
Simon Legner 2 months ago
parent 2c4c474bce
commit 553240c4f0

@ -24,6 +24,7 @@ module Docs
node.remove
end
css('.lang').remove
css('.line-numbers-wrapper').remove
css('pre').each do |node|
node.content = node.content.strip

@ -4,7 +4,7 @@ module Docs
self.slug = 'vite'
self.type = 'simple'
self.links = {
home: 'https://vitejs.dev/',
home: 'https://vite.dev/',
code: 'https://github.com/vitejs/vite'
}
@ -22,18 +22,18 @@ module Docs
html_filters.push 'vite/entries', 'vite/clean_html'
version do
self.release = '5.2.13'
self.base_url = 'https://vitejs.dev/'
self.release = '5.4.11'
self.base_url = 'https://vite.dev/'
end
version '4' do
self.release = '4.5.1'
self.base_url = 'https://v4.vitejs.dev/'
self.release = '4.5.5'
self.base_url = 'https://v4.vite.dev/'
end
version '3' do
self.release = '3.2.5'
self.base_url = 'https://v3.vitejs.dev/'
self.release = '3.2.11'
self.base_url = 'https://v3.vite.dev/'
end
def get_latest_version(opts)

Loading…
Cancel
Save