diff --git a/lib/docs/filters/vue_router/entries.rb b/lib/docs/filters/vue_router/entries.rb index b38fed28..11c5e8a0 100644 --- a/lib/docs/filters/vue_router/entries.rb +++ b/lib/docs/filters/vue_router/entries.rb @@ -3,7 +3,7 @@ module Docs class EntriesFilter < Docs::EntriesFilter def get_name name = at_css('h1').content - name.remove! '# ' + name.sub! %r{#\s*}, '' name end @@ -34,9 +34,9 @@ module Docs title = node title = title.previous_element until title.name == 'h2' title = title.content.strip - title.remove! '# ' + title.sub! %r{#\s*}, '' - entry_name.remove! '# ' + entry_name.sub! %r{#\s*}, '' case title when 'Router Construction Options' diff --git a/lib/docs/scrapers/vue_router.rb b/lib/docs/scrapers/vue_router.rb index accb8455..3456fd59 100644 --- a/lib/docs/scrapers/vue_router.rb +++ b/lib/docs/scrapers/vue_router.rb @@ -21,7 +21,7 @@ module Docs HTML version '4' do - self.release = '4.0.3' + self.release = '4.0.12' self.base_url = 'https://next.router.vuejs.org/' end