Unified · Split
| @@ -3,7 +3,7 @@ module Docs · 2 unmodified lines | ||
| 3 | 3 | class EntriesFilter < Docs::EntriesFilter |
| 4 | 4 | def get_name |
| 5 | 5 | name = at_css('h1').content |
| 6 | − name.remove! '# ' | |
| 6 | + name.sub! %r{#\s*}, '' | |
| 7 | 7 | name |
| 8 | 8 | end |
| 9 | 9 | |
| @@ -34,9 +34,9 @@ module Docs · 24 unmodified lines | ||
| 34 | 34 | title = node |
| 35 | 35 | title = title.previous_element until title.name == 'h2' |
| 36 | 36 | title = title.content.strip |
| 37 | − title.remove! '# ' | |
| 37 | + title.sub! %r{#\s*}, '' | |
| 38 | 38 | |
| 39 | − entry_name.remove! '# ' | |
| 39 | + entry_name.sub! %r{#\s*}, '' | |
| 40 | 40 | |
| 41 | 41 | case title |
| 42 | 42 | when 'Router Construction Options' |
| @@ -21,7 +21,7 @@ module Docs · 20 unmodified lines | ||
| 21 | 21 | HTML |
| 22 | 22 | |
| 23 | 23 | version '4' do |
| 24 | − self.release = '4.0.3' | |
| 24 | + self.release = '4.0.12' | |
| 25 | 25 | self.base_url = 'https://next.router.vuejs.org/' |
| 26 | 26 | end |
| 27 | 27 | |