[ALL] add generic diagram
All checks were successful
/ test (push) Successful in 19s

This commit is contained in:
Michaël Ricart 2025-03-05 15:55:40 +01:00
parent 2b76cfadde
commit 60781327fb
2 changed files with 11 additions and 1 deletions

2
.gitignore vendored
View file

@ -4,4 +4,4 @@ source/devices/*
oxidized
nginx-config
d2class
source/d2lang_svg
*d2lang*

View file

@ -5,5 +5,15 @@
:os: {{ os["NAME"] }}
:version: {{ os["VERSION"] }}
Diagram
=======
.. d2lang::
:filename: d2lang/{{ hostname.replace("\n", "") }}.svg
...@source/infra.d2
scaleway.{{ hostname.replace("\n", "").split(".")[0] }}*.style.animated: True
home.{{ hostname.replace("\n", "").split(".")[0] }}*.style.animated: True
{% if extend_exists %}{% include "{hostname}.rst.j2".format(hostname=hostname) %}{% endif %}