Unified · Split
| @@ -4,12 +4,14 @@ module Docs · 3 unmodified lines | |||
| 4 | def get_name | 4 | def get_name |
| 5 | name = at_css('h1').content | 5 | name = at_css('h1').content |
| 6 | name.sub! %r{\s*#\s*}, '' | 6 | name.sub! %r{\s*#\s*}, '' |
| 7 | name.sub! %r{\s*\u200B\s*}, '' | ||
| 7 | name | 8 | name |
| 8 | end | 9 | end |
| 9 | 10 | ||
| 10 | def get_type | 11 | def get_type |
| 11 | name = at_css('h1').content | 12 | name = at_css('h1').content |
| 12 | name.sub! %r{\s*#\s*}, '' | 13 | name.sub! %r{\s*#\s*}, '' |
| 14 | name.sub! %r{\s*\u200B\s*}, '' | ||
| 13 | name | 15 | name |
| 14 | end | 16 | end |
| 15 | 17 | ||
| @@ -9,6 +9,7 @@ module Docs · 8 unmodified lines | |||
| 9 | } | 9 | } |
| 10 | 10 | ||
| 11 | options[:root_title] = 'Vitest' | 11 | options[:root_title] = 'Vitest' |
| 12 | options[:download_images] = false | ||
| 12 | 13 | ||
| 13 | options[:attribution] = <<-HTML | 14 | options[:attribution] = <<-HTML |
| 14 | © 2021-Present Anthony Fu<br> | 15 | © 2021-Present Anthony Fu<br> |
| @@ -16,7 +17,7 @@ module Docs · 1 unmodified line | |||
| 16 | Licensed under the MIT License. | 17 | Licensed under the MIT License. |
| 17 | HTML | 18 | HTML |
| 18 | 19 | ||
| 19 | self.release = '1.1.3' | 20 | self.release = '1.2.2' |
| 20 | self.base_url = 'https://vitest.dev/' | 21 | self.base_url = 'https://vitest.dev/' |
| 21 | self.initial_paths = %w(guide/) | 22 | self.initial_paths = %w(guide/) |
| 22 | html_filters.push 'vitest/entries', 'vite/clean_html' | 23 | html_filters.push 'vitest/entries', 'vite/clean_html' |