Skip to main content

generate_docs

Function generate_docs 

Source
pub fn generate_docs(
    api: &ApiSurface,
    config: &AlefConfig,
    languages: &[Language],
    output_dir: &str,
) -> Result<Vec<GeneratedFile>>
Expand description

Generate API reference documentation for the given languages.

Produces one api-{lang}.md per language, plus shared configuration.md and errors.md files written into output_dir.