MkModuleTable
:fa-brands-github: Show source on GitHub
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
1810812730["mkmoduletable.MkModuleTable"]
1225063181["mktemplatetable.MkTemplateTable"]
1359323199["mknode.MkNode"]
2751680898["builtins.object"]
1225063181 --> 1810812730
1359323199 --> 1225063181
2751680898 --> 1359323199
/home/runner/work/mknodes/mknodes/src/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 %}
"""
Page info
Code for this page
Resources
Resources(css=[],
markdown_extensions={'admonition': {},
'pymdownx.details': {},
'pymdownx.highlight': {'anchor_linenums': True,
'line_spans': '__span',
'pygments_lang_class': True},
'pymdownx.superfences': {'custom_fences': [{'class': 'mermaid',
'format': <function fence_code_format at 0x703933662e50>,
'name': 'mermaid'}]},
'pymdownx.tabbed': {},
'tables': {}},
plugins=[Plugin('mkdocstrings')],
js=[],
assets=[],
packages=[])