From 0e7a169616061e2a6c0ef35e49e3c4a75a100405 Mon Sep 17 00:00:00 2001 From: Simon Legner Date: Tue, 20 Dec 2022 23:08:17 +0100 Subject: [PATCH] Update Vite documentation (4.0.2) --- lib/docs/scrapers/vite.rb | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/lib/docs/scrapers/vite.rb b/lib/docs/scrapers/vite.rb index 46b56c2a..eec42453 100644 --- a/lib/docs/scrapers/vite.rb +++ b/lib/docs/scrapers/vite.rb @@ -17,11 +17,19 @@ module Docs options[:skip] = %w(team.html plugins/) - self.release = '3.2.2' - self.base_url = 'https://vitejs.dev/' self.initial_paths = %w(guide/) html_filters.push 'vite/entries', 'vite/clean_html' + version do + self.release = '4.0.2' + self.base_url = 'https://vitejs.dev/' + end + + version '3' do + self.release = '3.2.5' + self.base_url = 'https://v3.vitejs.dev/' + end + def get_latest_version(opts) get_npm_version('vite', opts) end