generateDocsForFunctions¶
- emlib.doctools.generateDocsForFunctions(funcs, renderConfig=None, title=None, pretext=None, indentLevel=1)[source]¶
Collects documentation for multiple functions in one string
- Parameters:
funcs (
list
[Callable
]) – the funcs to parsetitle (
Optional
[str
]) – a title to use before the generated codepretext (
Optional
[str
]) – a text between the title and the generated codeindentLevel – the heading start level
renderConfig (
Optional
[RenderConfig
]) – a RenderConfig
- Return type:
str
- Returns:
the generated documentation
- Raises:
ParseError if any of the functions fails to be parsed –