diff --git a/lib/docs/filters/react/entries_react_dev.rb b/lib/docs/filters/react/entries_react_dev.rb index 5807985d..2264985b 100644 --- a/lib/docs/filters/react/entries_react_dev.rb +++ b/lib/docs/filters/react/entries_react_dev.rb @@ -2,7 +2,9 @@ module Docs class React class EntriesReactDevFilter < Docs::EntriesFilter def get_name - at_css('article h1').content + canary_copy = '- This feature is available in the latest Canary' + name = at_css('article h1').content + return name.sub(canary_copy, ' (experimental)') end def get_type