This commit is contained in:
Marc Beninca 2024-12-09 19:47:51 +01:00
parent 8867e24251
commit e6d1e5db7f
Signed by: marc.beninca
GPG key ID: 9C7613450C80C24F
2 changed files with 45 additions and 2 deletions

View file

@ -14,13 +14,18 @@ if __name__ == "__main__":
make_directory(out)
run("dot", str(gv), "-Tsvg", "-o", str(svg))
text = read_file_text(svg)
write(out / "index.css", """\
html {
background-color: #202020;
}
""")
write(out / "index.html", f"""\
<!DOCTYPE html>
<html><head>
<meta charset="UTF-8">
<!-- <link rel="stylesheet" href="index.css"> -->
<title>to.rwx.work</title>
<link rel="stylesheet" href="index.css">
<title>todo.rwx.work</title>
</head><body>

View file

@ -1,4 +1,29 @@
digraph "index" {
bgcolor="transparent"
color="#C0C000"
fontcolor="#FF8000"
fontname="DejaVu Sans"
penwidth="2"
# rankdir="RL"
edge [
color="#FF4040"
fontcolor="#FF4040"
fontname="DejaVu Sans"
style="filled"
]
node [
color="#C0C0C0"
fontcolor="#FFFFFF"
fontname="DejaVu Sans"
penwidth="2"
style="filled"
]
{rank="max"
"" [style="invis"]
}
subgraph "cluster/dev" { label="Dev"
"plan" [label="Plan"]
@ -7,6 +32,11 @@ subgraph "cluster/dev" { label="Dev"
"test" [label="Test"]
}
"plan" -> "code" -> "build" -> "test" -> {
"plan"
"release"
}
subgraph "cluster/ops" { label="Ops"
"release" [label="Release"]
"deploy" [label="Deploy"]
@ -14,4 +44,12 @@ subgraph "cluster/ops" { label="Ops"
"monitor" [label="Monitor"]
}
"release" -> "deploy" -> "operate" -> "monitor" -> {
"deploy"
"plan"
}
"one"
"two"
}