SDML(1) User Commands SDML(1)

sdml doc - Produce structured documentation for a module.

sdml doc [OPTIONS] [MODULE]

Produce structured documentation for a module.

This command creates structured documentation for a module, and includes annotations, constraints and all definition types. The generated documentation also include diagrams and dependency graphs.

- Org-Mode (default) :: Create an Emacs org-mode formatted file. This format allows all content to be written into a single file with export options to HTML, LaTeX, Word, PDF and more.

- Markdown :: Create a markdown formatted file, this file uses GitHub-flavored markdown to allow for some better content formatting than CommonMark.

[MODULE]
SDML module, loaded using the standard resolver

-f, --output-format <OUTPUT_FORMAT>

[default: org-mode]
Possible values: - markdown: Markdown - org-mode: Emacs org-mode

-o, --output <OUTPUT>

File name to write to, or '-' to write to stdout
[default: -]

-i, --input <INPUT>

Input SDML file name to read from, or '-' to read from stdin
[default: -]

-h, --help

Print help (see a summary with '-h')

-V, --version

Print version
October 2024 sdml doc 0.3.1+20241014