[ALL] add d2class & first infra diagram
All checks were successful
/ test (push) Successful in 14s

This commit is contained in:
Michaël Ricart 2025-03-03 11:39:47 +01:00
parent ad901e7d0e
commit 12d76a3116
3 changed files with 25 additions and 0 deletions

View file

@ -29,6 +29,14 @@ jobs:
path: nginx-config path: nginx-config
ref: main ref: main
- name: Checkout d2class
uses: actions/checkout@v4
with:
repository: milka64/d2class
token: ${{ secrets.TOKEN }}
path: d2class
ref: main
- name: "create devices directory" - name: "create devices directory"
run: 'mkdir source/devices' run: 'mkdir source/devices'

1
.gitignore vendored
View file

@ -3,3 +3,4 @@ build
source/devices/* source/devices/*
oxidized oxidized
nginx-config nginx-config
d2class

16
source/infra.rst Normal file
View file

@ -0,0 +1,16 @@
.. d2lang::
@../d2class/network.d2
wan -- home.freebox
wan -- scaleway."mail.0w.tf"
wan -- scaleway.bkp
home: {
freebox -- adama
class: "router"
}
wan: {
shape: image
icon: https://git.0w.tf/milka64/d2class/raw/branch/main/svg/cloud.svg
label.near: bottom-left
}