File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ class EntriesFilter < Docs::EntriesFilter
44 def get_name
55 name = at_css ( 'h1' ) . content
66
7- name . remove! '# '
7+ name . sub! %r{# \s *} , ' '
88
99 # Add index on guides
1010 unless subpath . start_with? ( 'api' )
@@ -42,9 +42,9 @@ def additional_entries
4242 title = node
4343 title = title . previous_element until title . name == 'h2'
4444 title = title . content . strip
45- title . remove! '# '
45+ title . sub! %r{# \s *} , ' '
4646
47- entry_name . remove! '# '
47+ entry_name . sub! %r{# \s *} , ' '
4848
4949 unless entry_name . start_with? ( 'router.' )
5050 case title
Original file line number Diff line number Diff line change @@ -19,7 +19,7 @@ class Vuex < UrlScraper
1919 HTML
2020
2121 version '4' do
22- self . release = '4.0.0 '
22+ self . release = '4.0.2 '
2323 self . base_url = 'https://next.vuex.vuejs.org/'
2424 end
2525
You can’t perform that action at this time.
0 commit comments