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';
77import 'package:meta/meta.dart' ;
88
99final RegExp _categoryRegExp = RegExp (
10- r'[ ]*{@(api| category|subCategory|image|samples) (.+?)}[ ]*\n?' ,
10+ r'[ ]*{@(category|subCategory|image|samples) (.+?)}[ ]*\n?' ,
1111 multiLine: true );
1212
1313/// Mixin parsing the `@category` directive for ModelElements.
@@ -28,7 +28,6 @@ mixin Categorization on DocumentationComment implements Indexable {
2828 _hasCategorization = true ;
2929 switch (match[1 ]) {
3030 case 'category' :
31- case 'api' :
3231 categorySet.add (match[2 ]! .trim ());
3332 case 'subCategory' :
3433 subCategorySet.add (match[2 ]! .trim ());
Original file line number Diff line number Diff line change @@ -158,7 +158,6 @@ mixin DocumentationComment
158158 'youtube' ,
159159
160160 // Other directives, parsed by `model/directives/*.dart`:
161- 'api' ,
162161 'canonicalFor' ,
163162 'category' ,
164163 'hideConstantImplementations' ,
You can’t perform that action at this time.
0 commit comments