mirror of
https://github.com/freeCodeCamp/devdocs
synced 2024-11-16 19:48:10 +01:00
Update Vitest documentation (1.2.2)
This commit is contained in:
parent
30cb1b5a28
commit
1904c1ba14
2 changed files with 4 additions and 1 deletions
|
@ -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
|
||||
|
||||
|
|
|
@ -9,6 +9,7 @@ module Docs
|
|||
}
|
||||
|
||||
options[:root_title] = 'Vitest'
|
||||
options[:download_images] = false
|
||||
|
||||
options[:attribution] = <<-HTML
|
||||
© 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'
|
||||
|
|
Loading…
Reference in a new issue