File tree Expand file tree Collapse file tree 2 files changed +1
-3
lines changed Expand file tree Collapse file tree 2 files changed +1
-3
lines changed Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ import 'package:dartdoc/src/model/model.dart';
7
7
import 'package:meta/meta.dart' ;
8
8
9
9
final RegExp _categoryRegExp = RegExp (
10
- r'[ ]*{@(api| category|subCategory|image|samples) (.+?)}[ ]*\n?' ,
10
+ r'[ ]*{@(category|subCategory|image|samples) (.+?)}[ ]*\n?' ,
11
11
multiLine: true );
12
12
13
13
/// Mixin parsing the `@category` directive for ModelElements.
@@ -28,7 +28,6 @@ mixin Categorization on DocumentationComment implements Indexable {
28
28
_hasCategorization = true ;
29
29
switch (match[1 ]) {
30
30
case 'category' :
31
- case 'api' :
32
31
categorySet.add (match[2 ]! .trim ());
33
32
case 'subCategory' :
34
33
subCategorySet.add (match[2 ]! .trim ());
Original file line number Diff line number Diff line change @@ -158,7 +158,6 @@ mixin DocumentationComment
158
158
'youtube' ,
159
159
160
160
// Other directives, parsed by `model/directives/*.dart`:
161
- 'api' ,
162
161
'canonicalFor' ,
163
162
'category' ,
164
163
'hideConstantImplementations' ,
You can’t perform that action at this time.
0 commit comments