Update Vitest documentation (1.2.2)

This commit is contained in:
Simon Legner 2024-02-04 19:42:38 +01:00
parent 30cb1b5a28
commit 1904c1ba14
2 changed files with 4 additions and 1 deletions

View file

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

View file

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