|
|
|
@ -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)
|
|
|
|
|