dart-lang / dartdoc

API documentation tool for Dart.
https://pub.dev/packages/dartdoc
BSD 3-Clause "New" or "Revised" License
473 stars 119 forks source link

[Feature request] Allow generating docs for non-exported files under lib/src #2612

Open GroovinChip opened 3 years ago

GroovinChip commented 3 years ago

At work I develop an internal plugin that only needs to export one file from its lib/src directory. This unfortunately means that I cannot generate documentation for everything else in lib/src. It would be nice to have an option available in dartdoc_options.yaml that allows this.

VivienDebio commented 3 years ago

I find myself in the same situation. It will indeed be very nice to be able to generate documentation for file in lib/src for both regulatory compliance and maintenance purpose. Especially since the documentation generated is good. In my opinion documentation is nearly as important for the private as for the public part of a package.