renderDocumentation¶
- emlib.doctools.renderDocumentation(parsed, renderConfig, indentLevel)[source]¶
Renders the parsed function / method / property as documentation in the given format
- Parameters:
parsed (
ParsedDef
) – the result of calling parseDef on a function or methodindentLevel (
int
) – the heading level to use as root level for the documentationrenderConfig (
RenderConfig
) – a RenderConfig
- Return type:
str
- Returns:
the generated documentation as string