doc — Generate JavaDoc-style API docs for .sd modules (markdown or HTML).
spanda doc [--json] [--html] [--out <file>] <file.sd|dir/>
Generate JavaDoc-style API docs for .sd modules (markdown or HTML).
--out — write output file or directory
--html — emit HTML instead of markdown
--json — wrap output in JSON
spanda doc module.sd --out module-api.md
spanda doc --html examples/
0 on success; 1 on lex/parse errors.
Output docs under --out or stdout.
spanda-reference(1), spanda-man(1), spanda(1), spanda-reference.md