From 1904c1ba144bc78fafd19c46c438e9b449b2ffcf Mon Sep 17 00:00:00 2001 From: Simon Legner Date: Sun, 4 Feb 2024 19:42:38 +0100 Subject: [PATCH] Update Vitest documentation (1.2.2) --- lib/docs/filters/vitest/entries.rb | 2 ++ lib/docs/scrapers/vitest.rb | 3 ++- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/lib/docs/filters/vitest/entries.rb b/lib/docs/filters/vitest/entries.rb index 03527ef6..daa43bc5 100644 --- a/lib/docs/filters/vitest/entries.rb +++ b/lib/docs/filters/vitest/entries.rb @@ -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 diff --git a/lib/docs/scrapers/vitest.rb b/lib/docs/scrapers/vitest.rb index 820b9eef..251b6c69 100644 --- a/lib/docs/scrapers/vitest.rb +++ b/lib/docs/scrapers/vitest.rb @@ -9,6 +9,7 @@ module Docs } options[:root_title] = 'Vitest' + options[:download_images] = false options[:attribution] = <<-HTML © 2021-Present Anthony Fu
@@ -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'