Skip to content

Commit a016de5

Browse files
committed
Tweak 'guides' types regex
1 parent 44bb507 commit a016de5

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

assets/javascripts/collections/types.coffee

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ class app.collections.Types extends app.Collection
77
(result[@_groupFor(type)] ||= []).push(type)
88
result.filter (e) -> e.length > 0
99

10-
GUIDES_RGX = /guide|tutorial|reference|getting\ started/i
10+
GUIDES_RGX = /(^|[\s\(])(guide|tutorial|reference|getting\ started)/i
1111

1212
_groupFor: (type) ->
1313
if GUIDES_RGX.test(type.name)

0 commit comments

Comments
 (0)