View Source ExDoc.Formatter.LLMS (Dequel v0.7.0)
ExDoc formatter that outputs a single llms.txt file.
Produces a concise markdown reference of all modules, functions, types, and callbacks — designed to be consumed as context by large language models.
Usage
mix docs -f llmsOr add to your mix.exs:
docs: [formatters: ["html", "llms"]]
Summary
Functions
Generates llms.txt for the given modules.
Functions
@spec run([ExDoc.ModuleNode.t()], [ExDoc.ModuleNode.t()], ExDoc.Config.t()) :: String.t()
Generates llms.txt for the given modules.
Receives module nodes, filtered modules (unused by this formatter),
and the ExDoc config. Writes a single markdown file to config.output.