Update Vite documentation (4.3.9)

pull/2000/head
Simon Legner 2 years ago
parent 3b50b31502
commit 344ee439c7

@ -3,7 +3,7 @@ module Docs
class EntriesFilter < Docs::EntriesFilter class EntriesFilter < Docs::EntriesFilter
def get_name def get_name
name = at_css('h1').content name = at_css('h1').content
name.sub! %r{\s*#\s*}, '' name.sub! %r{\s*#\s*|\s*\u200B\s*}, ''
name name
end end
@ -14,7 +14,7 @@ module Docs
def additional_entries def additional_entries
css('h2, h3').each_with_object [] do |node, entries| css('h2, h3').each_with_object [] do |node, entries|
type = node.content.strip type = node.content.strip
type.sub! %r{\s*#\s*}, '' type.sub! %r{\s*#\s*|\s*\u200B\s*}, ''
entries << ["#{name}: #{type}", node['id']] entries << ["#{name}: #{type}", node['id']]
end end
end end

@ -21,7 +21,7 @@ module Docs
html_filters.push 'vite/entries', 'vite/clean_html' html_filters.push 'vite/entries', 'vite/clean_html'
version do version do
self.release = '4.1.1' self.release = '4.3.9'
self.base_url = 'https://vitejs.dev/' self.base_url = 'https://vitejs.dev/'
end end

Loading…
Cancel
Save