History

Improve Flow scraper entry classification

Closes #680.

Thibaut Courouble committed 8 years ago

Commit 28aeb111 parent 0091cc61 file · +1 −0Browse files

Unified · Split

lib/docs/filters/flow/entries.rb+1−0
@@ -6,6 +6,7 @@ module Docs · 5 unmodified lines
6 end6 end
7 7
8 def get_type8 def get_type
9 return 'React' if slug.start_with?('react')
9 type = at_css('.guide-nav .nav-item').content.strip10 type = at_css('.guide-nav .nav-item').content.strip
10 type.remove! %r{ \(.*}11 type.remove! %r{ \(.*}
11 type12 type

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t