Use generated images directly

This commit is contained in:
Khue Doan 2021-08-30 14:03:28 +07:00
parent 3a41a5ae2d
commit 4b761cb06f
4 changed files with 12 additions and 3 deletions

View File

@ -10,7 +10,7 @@ diagrams:
&& python3 *
.PHONY: book
book:
book: diagrams
mdbook build .
.PHONY: deploy

9
docs/README.md Normal file
View File

@ -0,0 +1,9 @@
# Documents
The documents can be viewed at <https://khuedoan.github.io/homelab>.
To view locally, install [`mdbook`](https://github.com/rust-lang/mdBook#installation) and run:
```
mdbook serve
```

View File

@ -1,5 +1,5 @@
# Provisioning flow
![Provisioning flow](https://user-images.githubusercontent.com/27996771/122676008-2eb23600-d206-11eb-8275-fb5d99bc8515.jpg)
![Provisioning flow](../diagrams/provisioning_flow.jpg)
TODO

View File

@ -12,7 +12,7 @@ graph_attr = {
"pad": "0"
}
with Diagram("Provision (separated by logical layers)", graph_attr=graph_attr, outformat="jpg", show=False):
with Diagram("Provisioning flow", graph_attr=graph_attr, outformat="jpg", show=False):
controller = Client("Initial controller")
bare_metal_machines = Server(f"Server(s)")