Module

PuduLangDocgen.Api.Export

View source

Extracted declarations written as model, Markdown, or API page files

Functions

Name Description
files Files for selected modules in a format, with paths relative to the metadata folder and a `toc.yml` listing modules and their types.

files

fn files(units: &Array[Model.Unit], format: Str) -> Array[(Str, Str)]

Files for selected modules in a format, with paths relative to the metadata folder and a toc.yml listing modules and their types.

Parameters

units
&Array[Model.Unit]
format
Str

Returns

Array[(Str, Str)]

View source

Constants

Name Description
FORMATS Formats metadata may be written in.

FORMATS

const FORMATS: Array[Str] = ["json", "markdown", "apiPage"]

Formats metadata may be written in.

Type

Array[Str]

View source