dartdoc icon indicating copy to clipboard operation
dartdoc copied to clipboard

Should document doc comment directives

Open srawlins opened this issue 5 years ago • 3 comments

Right now, it looks like the only documentation for {@animation}, {@template}, {@youtube}, etc exists as doc comments on private methods in comment_processable.dart. We should document, perhaps in a top-level markdown file, or the wiki:

  • the syntax for each directive
  • any interoperability between them (can you write a {@template} with a {@youtube} inside?)
  • what directives are accepted in Flutter's docs, pub.dev's docs, and Dart API docs

srawlins avatar Sep 06 '20 20:09 srawlins

Wiki page started at https://github.com/dart-lang/dartdoc/wiki/Doc-comment-directives

srawlins avatar Sep 06 '20 21:09 srawlins

@srawlins Is this issue still open to working???

NinaPacifier avatar Dec 13 '20 04:12 NinaPacifier

Once the page is a little more finished, we should refer to it from https://dart.dev/tools/dartdoc (and/or the pages it links to).

kwalrath avatar Dec 17 '20 19:12 kwalrath