Update Vue Router documentation (4.0.12)

pull/1641/head
Simon Legner 3 years ago
parent f0c16cb994
commit a7dbc9d4dd

@ -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.remove! '# ' name.sub! %r{#\s*}, ''
name name
end end
@ -34,9 +34,9 @@ module Docs
title = node title = node
title = title.previous_element until title.name == 'h2' title = title.previous_element until title.name == 'h2'
title = title.content.strip title = title.content.strip
title.remove! '# ' title.sub! %r{#\s*}, ''
entry_name.remove! '# ' entry_name.sub! %r{#\s*}, ''
case title case title
when 'Router Construction Options' when 'Router Construction Options'

@ -21,7 +21,7 @@ module Docs
HTML HTML
version '4' do version '4' do
self.release = '4.0.3' self.release = '4.0.12'
self.base_url = 'https://next.router.vuejs.org/' self.base_url = 'https://next.router.vuejs.org/'
end end

Loading…
Cancel
Save