Parcourir la source

Update Vite documentation (4.4.8)

Simon Legner il y a 2 ans
Parent
commit
c39956e9e5
2 fichiers modifiés avec 2 ajouts et 2 suppressions
  1. 1 1
      lib/docs/filters/vite/clean_html.rb
  2. 1 1
      lib/docs/scrapers/vite.rb

+ 1 - 1
lib/docs/filters/vite/clean_html.rb

@@ -4,7 +4,7 @@ module Docs
       def call
         return "<h1>Vitest</h1><p>A Vite-native unit test framework. It's fast!</p>" if root_page? && current_url.host == 'vitest.dev'
         return "<h1>VueUse</h1><p>Collection of Vue Composition Utilities</p>" if root_page? && current_url.host == 'vueuse.org'
-        return '<h1>Vite</h1>' if root_page?
+        return '<h1>Vite</h1><p>Next Generation Frontend Tooling</p>' if root_page?
         @doc = at_css('main h1').parent
 
         css('.demo', '.guide-links', '.footer', '#ad').remove

+ 1 - 1
lib/docs/scrapers/vite.rb

@@ -21,7 +21,7 @@ module Docs
     html_filters.push 'vite/entries', 'vite/clean_html'
 
     version do
-      self.release = '4.3.9'
+      self.release = '4.4.8'
       self.base_url = 'https://vitejs.dev/'
     end