add categories

pull/2375/head
Gergely Gombos 2 months ago
parent ef1cc8a8bb
commit df398bd145

@ -4,11 +4,12 @@ module Docs
def get_name
canary_copy = '- This feature is available in the latest Canary'
name = at_css('article h1').content
return name.sub(canary_copy, ' (experimental)')
return name.sub(canary_copy, ' (Experimental)')
end
def get_type
return 'TODO add types'
breadcrumb_nodes = css('a.tracking-wide')
return breadcrumb_nodes.last.content || 'Miscellaneous'
end
end
end

Loading…
Cancel
Save