From 28aeb115c03d6066ac7252a54f97a7caa8f505a1 Mon Sep 17 00:00:00 2001 From: Thibaut Courouble Date: Sun, 26 Nov 2017 17:44:10 -0500 Subject: [PATCH] Improve Flow scraper entry classification Closes #680. --- lib/docs/filters/flow/entries.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/docs/filters/flow/entries.rb b/lib/docs/filters/flow/entries.rb index 6cbdf0f4..88bf68a8 100644 --- a/lib/docs/filters/flow/entries.rb +++ b/lib/docs/filters/flow/entries.rb @@ -6,6 +6,7 @@ module Docs end def get_type + return 'React' if slug.start_with?('react') type = at_css('.guide-nav .nav-item').content.strip type.remove! %r{ \(.*} type