starter-kit/documents/_templates/system.tmpl
2025-12-01 17:04:45 -05:00

27 lines
No EOL
590 B
Cheetah

.. Sadly can't get this to work with the same TOC level in additional info.
{{ data['name'] }} ({{ data['abbrev']}})
{{ "=" * (data['name'] | length + data['abbrev'] | length + 3) }}
Abbrev: {{data['abbrev']}}
{{ data['desc'] }}
Functions
---------
{% for item in data['functions'] %}
.. req:: {{item}}
:id: R_{{data['abbrev']}}_{{loop.index}}
{% endfor %}
Parameters
----------
{% if data['params'] %}
{{ make_list_table_from_mappings(
[('Parameter', 'name'), ('Value', 'val'), ('Tags', 'tags')],
data['params'],
title='System Parameters',
) }}
{% endif %}