.
This commit is contained in:
+12
-7
@@ -374,21 +374,26 @@ plugins:
|
|||||||
#### Block-Diagramme
|
#### Block-Diagramme
|
||||||
|
|
||||||
```
|
```
|
||||||
pip3 install mkdocs-mermaid2-plugin
|
pip3 install mkdocs-build-plantuml-plugin
|
||||||
```
|
```
|
||||||
|
|
||||||
Änderung in "mkdocs.yml":
|
Änderung in "mkdocs.yml":
|
||||||
|
|
||||||
```
|
```
|
||||||
plugins:
|
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:
|
Beispiel:
|
||||||
|
|
||||||
```mermaid
|
```plantuml
|
||||||
graph TD
|
Alice -> Bob
|
||||||
A[Client] --> B[Load Balancer]
|
|
||||||
B --> C[Server01]
|
|
||||||
B --> D[Server02]
|
|
||||||
```
|
```
|
||||||
|
|||||||
+9
-1
@@ -26,7 +26,15 @@ markdown_extensions:
|
|||||||
- pymdownx.tabbed
|
- pymdownx.tabbed
|
||||||
plugins:
|
plugins:
|
||||||
- search
|
- search
|
||||||
- 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
|
||||||
- with-pdf:
|
- with-pdf:
|
||||||
copyright: Copyright © 2020 Bernd Reuther
|
copyright: Copyright © 2020 Bernd Reuther
|
||||||
toc_title: Inhaltsverzeichnis
|
toc_title: Inhaltsverzeichnis
|
||||||
|
|||||||
Reference in New Issue
Block a user