History

Update Vitest documentation (4.0.17)

Simon Legner committed 8 months ago

Commit 9be38471 parent 04d8d055 files · +10 −3Browse files

Unified · Split

5 files
  1. lib/docs/filters/vite/clean_html.rb +2 −0
  2. lib/docs/scrapers/vitest.rb +9 −5
  3. public/icons/docs/vitest/16.png +0 −0
  4. public/icons/docs/vitest/16@2x.png +0 −0
  5. public/icons/docs/vitest/SOURCE +1 −0
lib/docs/filters/vite/clean_html.rb+2−0
@@ -24,6 +24,8 @@ module Docs · 23 unmodified lines
2424 node.remove
2525 end
2626
27+ css('.vp-code-group > .tabs').remove
28+
2729 css('.lang').remove
2830 css('.line-numbers-wrapper').remove
2931 css('pre').each do |node|
lib/docs/scrapers/vitest.rb+9−5
@@ -13,19 +13,23 @@ module Docs · 12 unmodified lines
1313 options[:skip] = %w(blog)
1414
1515 options[:attribution] = <<-HTML
16− &copy; 2021-Present Anthony Fu<br>
17− &copy; 2021-Present Matias Capeletto<br>
16+ &copy; 2021-Present VoidZero Inc. and Vitest contributors<br>
1817 Licensed under the MIT License.
1918 HTML
2019
2120 self.initial_paths = %w(guide/)
2221 html_filters.push 'vitest/entries', 'vite/clean_html'
23−
22+
2423 version do
25− self.release = '3.0.8'
24+ self.release = '4.0.17'
2625 self.base_url = 'https://vitest.dev/'
2726 end
28−
27+
28+ version '3' do
29+ self.release = '3.2.4'
30+ self.base_url = 'https://vitest.dev/'
31+ end
32+
2933 version '2' do
3034 self.release = '2.1.9'
3135 self.base_url = 'https://v2.vitest.dev/'
public/icons/docs/vitest/16.png+0−0

Binary file not shown.

public/icons/docs/vitest/16@2x.png+0−0

Binary file not shown.

public/icons/docs/vitest/SOURCE+1−0
@@ -1 +1,2 @@
11 https://vitest.dev/logo.svg
2+https://vitest.dev/favicon.ico