| Index: utils/apidoc/apidoc.dart
|
| diff --git a/utils/apidoc/apidoc.dart b/utils/apidoc/apidoc.dart
|
| index 968546c861567dd91d75b2341552ac54395dfc41..f1f2ba2a0d70ba9fc530a6296d86a113d81d4c6d 100644
|
| --- a/utils/apidoc/apidoc.dart
|
| +++ b/utils/apidoc/apidoc.dart
|
| @@ -12,11 +12,13 @@
|
| *
|
| * $ dart apidoc.dart [--out=<output directory>]
|
| */
|
| +
|
| #library('apidoc');
|
|
|
| #import('dart:io');
|
| #import('dart:json');
|
| #import('html_diff.dart');
|
| +
|
| #import('../../frog/lang.dart');
|
| #import('../../frog/file_system_vm.dart');
|
| #import('../../frog/file_system.dart');
|
| @@ -228,6 +230,12 @@ class Apidoc extends doc.Dartdoc {
|
| super.docLibrary(library);
|
| }
|
|
|
| + /** Override definition from parent class to strip out annotation tags. */
|
| + String commentToHtml(String comment) {
|
| + return super.commentToHtml(
|
| + comment.replaceAll(const RegExp("@([a-zA-Z]+) ([^;]+)(?:;|\$)"), ''));
|
| + }
|
| +
|
| String getTypeComment(Type type) {
|
| return _mergeDocs(
|
| includeMdnTypeComment(type),
|
|
|