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
93860743899232["mkmoduletable.MkModuleTable"]
93860743858256["mktemplatetable.MkTemplateTable"]
93860744073616["mknode.MkNode"]
93860744080896["node.Node"]
140589822947552["builtins.object"]
93860743858256 --> 93860743899232
93860744073616 --> 93860743858256
93860744080896 --> 93860744073616
140589822947552 --> 93860744080896
/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 %}
"""