MkModuleTable
Node for a table containing formatted information about a module.¶
Example: Regular¶
Name | DocStrings | Members |
---|---|---|
mknodes.info | Information/Metadata- related classes. |
Name | Children | Inherits |
---|---|---|
MkTemplateTable mknodes.templatenodes.mktemplatetable Node for a table showing dependencies for a package. |
graph TD
94721312350816["mkmoduletable.MkModuleTable"]
94721312206496["mktemplatetable.MkTemplateTable"]
94721308848336["mknode.MkNode"]
94721311766592["node.Node"]
140564252373184["builtins.object"]
94721312206496 --> 94721312350816
94721308848336 --> 94721312206496
94721311766592 --> 94721308848336
140564252373184 --> 94721311766592
/home/runner/work/mknodes/mknodes/mknodes/templatenodes/mkmoduletable/metadata.toml
[metadata]
icon = "mdi:view-module-outline"
name = "MkModuleTable"
group = "documentation"
[requirements.extension.tables]
[examples.regular]
title = "Regular"
jinja = """
{{ ["mknodes.info"] | MkModuleTable }}
"""
[layouts.default]
Name = """
{{ module | get_link }}
"""
DocStrings = """
{{ module | get_doc(fallback="*No docstrings defined.*", only_summary=True) }}
"""
Members = """
{% if module | hasattr("__all__") %}
{{ (module.__all__ | MkList(as_links=True, shorten_after=10)).to_html() }}
{% endif %}
"""