moment_timezone: avoid multiple "Intro" entries

Hard to distinguish in search.
pull/1828/head
Simon Legner 2 years ago
parent 4aaf0d20a8
commit fc94d6c0fb

@ -9,10 +9,8 @@ module Docs
css('[id]').each do |node|
if node.name == 'h2'
type = node.content
name = "Intro"
else
name = node.content.strip
end
name = node.content.strip
entries << [name, node['id'], type]
end

Loading…
Cancel
Save