Update Vuex documentation (4.0.2)

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

@ -4,7 +4,7 @@ module Docs
def get_name def get_name
name = at_css('h1').content name = at_css('h1').content
name.remove! '# ' name.sub! %r{#\s*}, ''
# Add index on guides # Add index on guides
unless subpath.start_with?('api') unless subpath.start_with?('api')
@ -42,9 +42,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*}, ''
unless entry_name.start_with?('router.') unless entry_name.start_with?('router.')
case title case title

@ -19,7 +19,7 @@ module Docs
HTML HTML
version '4' do version '4' do
self.release = '4.0.0' self.release = '4.0.2'
self.base_url = 'https://next.vuex.vuejs.org/' self.base_url = 'https://next.vuex.vuejs.org/'
end end

Loading…
Cancel
Save