render_obj
FunctionSource
v_1: RendererPage | None = render_obj(obj: Any)
Render an arbitrary object as a documentation page.
Arguments
Requires
| Name | Type | Required | |
|---|---|---|---|
obj | Any | The object to be rendered, it can be a class, function, or a module. If this argument is a method, the method will be interpreted as a function. |
Returns
| Name | Type | |
|---|---|---|
v_1 | RendererPage | None | The rendered page object. Will be None if the given obj cannot be rendered as a documentation page. |