Skip to content

Commit e67408b

Browse files
committed
remove additional entries
1 parent d8eb568 commit e67408b

File tree

1 file changed

+0
-13
lines changed

1 file changed

+0
-13
lines changed

lib/docs/filters/react/entries_react_dev.rb

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -27,19 +27,6 @@ def update_canary_copy(string)
2727

2828
string.sub(canary_copy, ' (Canary)')
2929
end
30-
31-
def additional_entries
32-
excluded = %w(usage troubleshooting recap reference challenges alternatives)
33-
entries = []
34-
css('article h2, article h3').map do |node|
35-
next unless node.has_attribute?('id')
36-
name = node.content.strip
37-
next if excluded.include?(name.downcase)
38-
entries << [name, node['id'], type]
39-
end
40-
41-
entries
42-
end
4330
end
4431
end
4532
end

0 commit comments

Comments
 (0)