diff --git a/lib/docs/filters/vite/clean_html.rb b/lib/docs/filters/vite/clean_html.rb
index 5e213236..c19745ca 100644
--- a/lib/docs/filters/vite/clean_html.rb
+++ b/lib/docs/filters/vite/clean_html.rb
@@ -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
diff --git a/lib/docs/scrapers/vite.rb b/lib/docs/scrapers/vite.rb
index e63b1454..e6ed5203 100644
--- a/lib/docs/scrapers/vite.rb
+++ b/lib/docs/scrapers/vite.rb
@@ -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)