瀏覽代碼

Update Vite documentation (4.4.8)

Simon Legner 2 年之前
父節點
當前提交
c39956e9e5
共有 2 個文件被更改,包括 2 次插入2 次删除
  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