Vue Router : add parentheses after method names

pull/881/head
Nicolas Ettlin 6 years ago
parent 5c48bc2384
commit 274e631830

@ -41,16 +41,14 @@ module Docs
entryName.remove! '# '
unless entryName.start_with?('router.')
if title == "Router Construction Options"
entryName = "RouterOptions.#{entryName}"
elsif title == "<router-view> Props"
entryName = "<router-view> `#{entryName}` prop"
elsif title == "<router-link> Props"
entryName = "<router-link> `#{entryName}` prop"
else
entryName = "> #{entryName} (in: #{title})"
end
elsif title == "Router Instance Methods"
entryName = "#{entryName}()"
end
unless title == "Component Injections" || node['id'] == 'applying-active-class-to-outer-element' || node['id'] == 'route-object-properties'

Loading…
Cancel
Save