Unified · Split
| @@ -2,7 +2,9 @@ module Docs · 1 unmodified line | |||
| 2 | class React | 2 | class React |
| 3 | class EntriesReactDevFilter < Docs::EntriesFilter | 3 | class EntriesReactDevFilter < Docs::EntriesFilter |
| 4 | def get_name | 4 | def get_name |
| 5 | at_css('article h1').content | 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)') | ||
| 6 | end | 8 | end |
| 7 | 9 | ||
| 8 | def get_type | 10 | def get_type |