Skip to content

Dart doc is generation docs only for main.dart and not for the sub directories. #3184

@dev-akshat

Description

@dev-akshat

"dart doc ." (or "dart doc") command is generation docs but only for everything in lib folder not sub folders.
I have a src folder in lib which have other sub folders [lib > src > models > my_modal.dart] but after running command html is only generated for main.dart file (and a config.dart file in config folder [lib > config > config.dart])

My docs are as per Effective Dart guidelines and "dart analyse" (or "flutter analyse" ) commands giving 0 issues.

Here is a stack overflow question for the same.

https://stackoverflow.com/questions/73833028/dart-doc-not-generating-documentation-for-sub-folders

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions