Update Vitest documentation (1.2.2)

pull/2151/head
Simon Legner 12 months ago
parent 30cb1b5a28
commit 1904c1ba14

@ -4,12 +4,14 @@ module Docs
def get_name def get_name
name = at_css('h1').content name = at_css('h1').content
name.sub! %r{\s*#\s*}, '' name.sub! %r{\s*#\s*}, ''
name.sub! %r{\s*\u200B\s*}, ''
name name
end end
def get_type def get_type
name = at_css('h1').content name = at_css('h1').content
name.sub! %r{\s*#\s*}, '' name.sub! %r{\s*#\s*}, ''
name.sub! %r{\s*\u200B\s*}, ''
name name
end end

@ -9,6 +9,7 @@ module Docs
} }
options[:root_title] = 'Vitest' options[:root_title] = 'Vitest'
options[:download_images] = false
options[:attribution] = <<-HTML options[:attribution] = <<-HTML
&copy; 2021-Present Anthony Fu<br> &copy; 2021-Present Anthony Fu<br>
@ -16,7 +17,7 @@ module Docs
Licensed under the MIT License. Licensed under the MIT License.
HTML HTML
self.release = '1.1.3' self.release = '1.2.2'
self.base_url = 'https://vitest.dev/' self.base_url = 'https://vitest.dev/'
self.initial_paths = %w(guide/) self.initial_paths = %w(guide/)
html_filters.push 'vitest/entries', 'vite/clean_html' html_filters.push 'vitest/entries', 'vite/clean_html'

Loading…
Cancel
Save