History

Update Vite documentation (4.4.8)

Simon Legner committed 3 years ago

Commit c39956e1 parent 362fc9f2 files · +2 −2Browse files

Showing the changes to lib (2 of 2 files). Show all

Unified · Split

2 files
  1. lib/docs/filters/vite/clean_html.rb +1 −1
  2. lib/docs/scrapers/vite.rb +1 −1
lib/docs/filters/vite/clean_html.rb+1−1
@@ -4,7 +4,7 @@ module Docs · 3 unmodified lines
4 def call4 def call
5 return "<h1>Vitest</h1><p>A Vite-native unit test framework. It's fast!</p>" if root_page? && current_url.host == 'vitest.dev'5 return "<h1>Vitest</h1><p>A Vite-native unit test framework. It's fast!</p>" if root_page? && current_url.host == 'vitest.dev'
6 return "<h1>VueUse</h1><p>Collection of Vue Composition Utilities</p>" if root_page? && current_url.host == 'vueuse.org'6 return "<h1>VueUse</h1><p>Collection of Vue Composition Utilities</p>" if root_page? && current_url.host == 'vueuse.org'
7 return '<h1>Vite</h1>' if root_page?7 return '<h1>Vite</h1><p>Next Generation Frontend Tooling</p>' if root_page?
8 @doc = at_css('main h1').parent8 @doc = at_css('main h1').parent
9 9
10 css('.demo', '.guide-links', '.footer', '#ad').remove10 css('.demo', '.guide-links', '.footer', '#ad').remove
lib/docs/scrapers/vite.rb+1−1
@@ -21,7 +21,7 @@ module Docs · 20 unmodified lines
21 html_filters.push 'vite/entries', 'vite/clean_html'21 html_filters.push 'vite/entries', 'vite/clean_html'
22 22
23 version do23 version do
24 self.release = '4.3.9'24 self.release = '4.4.8'
25 self.base_url = 'https://vitejs.dev/'25 self.base_url = 'https://vitejs.dev/'
26 end26 end
27 27