css
This commit is contained in:
parent
8867e24251
commit
e6d1e5db7f
2 changed files with 45 additions and 2 deletions
9
build.py
9
build.py
|
@ -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>
|
||||
|
||||
|
|
38
index.gv
38
index.gv
|
@ -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"
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue