Closes #680.
Unified · Split
| @@ -6,6 +6,7 @@ module Docs · 5 unmodified lines | |||
| 6 | end | 6 | end |
| 7 | 7 | ||
| 8 | def get_type | 8 | def get_type |
| 9 | return 'React' if slug.start_with?('react') | ||
| 9 | type = at_css('.guide-nav .nav-item').content.strip | 10 | type = at_css('.guide-nav .nav-item').content.strip |
| 10 | type.remove! %r{ \(.*} | 11 | type.remove! %r{ \(.*} |
| 11 | type | 12 | type |