-
Notifications
You must be signed in to change notification settings - Fork 373
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge remote-tracking branch 'origin/master' into iox-#590-rename-uti…
…ls-to-hoofs
- Loading branch information
Showing
27 changed files
with
397 additions
and
175 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,39 @@ | ||
# Design Documents | ||
|
||
In here you can find design documents to all constructs of iceoryx. At the | ||
In here you can find design documents to all constructs of iceoryx. At the | ||
moment those design documents are neither complete nor final. | ||
|
||
In [draft](./draft/) are design drafts of current features contained which are under | ||
implementation. The goal is to provide other developers a first idea on how | ||
In [draft](./draft/) are design drafts of current features contained which are under | ||
implementation. The goal is to provide other developers a first idea on how | ||
the feature can be used and how it will be implemented. | ||
|
||
## Add diagrams using PlantUML | ||
|
||
Diagrams in the design documentation can be done with [PlantUML](https://plantuml.com/). | ||
For using PlantUML we recommend to use the latest version with the following required packages: | ||
|
||
```bash | ||
sudo apt install default-jre-headless graphviz | ||
``` | ||
|
||
A good online-editor with cheat-sheet can be found at [https://plantuml-editor.kkeisuke.com](https://plantuml-editor.kkeisuke.com). | ||
Alternatively you can use extensions in your IDE. | ||
|
||
The integration of the generated PlantUML into your design documents is done via *.svg files. | ||
You need to create a .puml file and export it to .svg afterwards for linking it with the markdown. In the tools folder is a helper script for that provided which downloads a defined version of PlantUML to export the vector graphics. | ||
These steps are necessary due to the current support of PlantUML in [Github](https://github.community/t/support-uml-diagrams-in-markdown-with-plantuml-syntax/626). | ||
|
||
**NOTE:** Please set in the PlantUML code the background manually to make all textboxes visible to users with dark-mode enabled in the Github-UI. | ||
|
||
```plantuml | ||
@startuml | ||
skinparam backgroundColor #EEEBDC | ||
... | ||
@enduml | ||
``` | ||
|
||
This is an example how to render PlantUML in Github: | ||
|
||
workflow using svg file: | ||
|
||
![plantuml github workflow](diagrams/puml_github_workflow.svg) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
@startuml | ||
|
||
skinparam backgroundColor #EEEBDC | ||
|
||
left to right direction | ||
|
||
actor Iceoryx_Contributor | ||
|
||
Iceoryx_Contributor --> (1. Create Diagram in PlanUML Editor) | ||
Iceoryx_Contributor --> (2. Save it as new .puml file in iceoryx/doc/design/puml) | ||
Iceoryx_Contributor --> (3. Export svg files via script in iceoryx/tools/ folder) | ||
Iceoryx_Contributor --> (4. Create a Link in the Markdown file) | ||
note left | ||
The following snippet can be used to link against a svg file in markdown: | ||
<code> | ||
![your image description](puml/your_exported_vector_graphic.svg) | ||
</code> | ||
end note | ||
|
||
@enduml |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.