Reworked docs rendering using jinja2.
This commit is contained in:
parent
1e723e6647
commit
69e9c80ec3
12 changed files with 70 additions and 94 deletions
7
data/templates/xap/docs/docs.md.j2
Normal file
7
data/templates/xap/docs/docs.md.j2
Normal file
|
@ -0,0 +1,7 @@
|
|||
{%- for item in xap.documentation.order -%}
|
||||
{%- if not item[0:1] == '!' -%}
|
||||
{{ xap.documentation.get(item) }}
|
||||
{% else %}
|
||||
{%- include item[1:] %}
|
||||
{% endif %}
|
||||
{% endfor %}
|
Loading…
Add table
Add a link
Reference in a new issue