We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ef1cc8a commit df398bdCopy full SHA for df398bd
lib/docs/filters/react/entries_react_dev.rb
@@ -4,11 +4,12 @@ class EntriesReactDevFilter < Docs::EntriesFilter
4
def get_name
5
canary_copy = '- This feature is available in the latest Canary'
6
name = at_css('article h1').content
7
- return name.sub(canary_copy, ' (experimental)')
+ return name.sub(canary_copy, ' (Experimental)')
8
end
9
10
def get_type
11
- return 'TODO add types'
+ breadcrumb_nodes = css('a.tracking-wide')
12
+ return breadcrumb_nodes.last.content || 'Miscellaneous'
13
14
15
0 commit comments