doc_infra/template/base.rst.j2

22 lines
542 B
Text
Raw Permalink Normal View History

2025-02-14 21:11:21 +01:00
{{ "=" * (hostname|length) }}
{{ hostname.replace("\n", "") }}
{{ "=" * (hostname|length) }}
2025-02-27 15:32:41 +01:00
:os: {{ os["NAME"] }}
2025-02-27 11:47:34 +01:00
:version: {{ os["VERSION"] }}
2025-02-27 11:42:50 +01:00
2025-03-05 15:55:40 +01:00
Diagram
=======
.. d2lang::
:filename: d2lang/{{ hostname.replace("\n", "") }}.svg
2025-03-07 22:59:27 +01:00
:width: 55%
2025-03-06 08:20:44 +01:00
:layout: elk
2025-03-05 15:55:40 +01:00
...@source/infra.d2
scaleway.{{ hostname.replace("\n", "").split(".")[0] }}*.style.animated: True
home.{{ hostname.replace("\n", "").split(".")[0] }}*.style.animated: True
2025-02-28 10:34:41 +01:00
{% if extend_exists %}{% include "{hostname}.rst.j2".format(hostname=hostname) %}{% endif %}