This commit is contained in:
Bernd Reuther
2020-10-22 11:29:58 +02:00
parent 8ee0918f50
commit d7f66e5752
2 changed files with 21 additions and 8 deletions
+12 -7
View File
@@ -374,21 +374,26 @@ plugins:
#### Block-Diagramme
```
pip3 install mkdocs-mermaid2-plugin
pip3 install mkdocs-build-plantuml-plugin
```
Änderung in "mkdocs.yml":
```
plugins:
- mermaid2
- build_plantuml:
render: "server" # or "local" for local rendering
bin_path: "/usr/local/bin/plantuml" # ignored when render: server
server: "http://www.plantuml.com/plantuml" # offical plantuml server
output_format: "svg" # or "png"
diagram_root: "docs/diagrams" # should reside under docs_dir
output_folder: "out"
input_folder: "src"
input_extensions: "" # comma separated list of extensions to parse, by default every file is parsed
```
Beispiel:
```mermaid
graph TD
A[Client] --> B[Load Balancer]
B --> C[Server01]
B --> D[Server02]
```plantuml
Alice -> Bob
```