generateDocsForClass¶
- emlib.doctools.generateDocsForClass(cls, renderConfig, exclude=None, indentLevel=1)[source]¶
Generate documentation for the given class
- Parameters:
cls – the cls to generate documentation for
renderConfig (
RenderConfig) – a RenderConfigexclude (
Optional[list[str]]) – functions/classes to excludeindentLevel – heading start level
- Return type:
str- Returns:
The rendered documentation as a string in the format specified by the renderConfig