romanos
romanos

Reputation: 1338

dart docgen - how to NOT contain docs for dart core in docs of my app

After I run docgen --serve my_file.dart and open it in my browser (by dartdoc-viewer), I am always getting API documentation for dart core libraries. How to assure to have only docs of my custom libraries generated (my_file.dart)?

Upvotes: 2

Views: 270

Answers (1)

Günter Zöchbauer
Günter Zöchbauer

Reputation: 657937

Add

 --no-include-sdk 

to your command line.

You can look up options with

 docgen --help #or
 docgen -h

Upvotes: 3

Related Questions