dartdoc_txt 0.1.3 copy "dartdoc_txt: ^0.1.3" to clipboard
dartdoc_txt: ^0.1.3 copied to clipboard

discontinuedreplaced by: dartdoc_builder

An LLM-friendly documentation generator for Dart source code.

dartdoc_txt #

A Dart package that provides APIs to generate Markdown documentation from Dart/Flutter packages, optimized for LLM consumption.

Unlike dartdoc (which generates interactive HTML), dartdoc_txt reuses dartdoc's analysis engine but produces structured, grep-friendly Markdown files designed for language models to traverse and understand.

See the example for usage details.

Output Structure #

<output>/
├── README.md                         # Copy of the package README (if present)
├── INDEX.md                          # All libraries' public APIs
├── topics/
│   └── getting-started.md            # Category pages (from dartdoc_options.yaml)
└── <library>/
    ├── ClassName/
    │   ├── ClassName.md              # One file per class/enum/mixin/extension
    │   └── ClassName-methodName.md   # Detail pages for large members
    ├── top-level-functions/
    │   ├── top-level-functions.md    # Grouped top-level functions
    │   └── functionName.md           # Detail pages for large functions
    ├── top-level-properties/
    │   └── top-level-properties.md   # Properties and constants
    └── typedefs/
        └── typedefs.md               # Type definitions
0
likes
150
points
32
downloads

Documentation

API reference

Publisher

verified publishernorelease.dev

Weekly Downloads

An LLM-friendly documentation generator for Dart source code.

License

MIT (license)

Dependencies

args, dartdoc, logging, mustache_template, path

More

Packages that depend on dartdoc_txt