diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2019-10-15 03:06:37 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2019-10-15 03:06:37 +0300 |
commit | 1dc3ec7f98798e85d8495e37691477d344c9ad5b (patch) | |
tree | 68a53e2cbc444b90d441b111f12d97825385a0d8 /doc/administration/integration | |
parent | 565fa11a26c6824b1c6072d2dc5459979345ee57 (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'doc/administration/integration')
-rw-r--r-- | doc/administration/integration/plantuml.md | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/doc/administration/integration/plantuml.md b/doc/administration/integration/plantuml.md index fe0b392c2d7..c34f9f90e7c 100644 --- a/doc/administration/integration/plantuml.md +++ b/doc/administration/integration/plantuml.md @@ -95,7 +95,7 @@ our AsciiDoc snippets, wikis and repos using delimited blocks: ~~~markdown ```plantuml Bob -> Alice : hello - Alice -> Bob : Go Away + Alice -> Bob : hi ``` ~~~ @@ -105,7 +105,7 @@ our AsciiDoc snippets, wikis and repos using delimited blocks: [plantuml, format="png", id="myDiagram", width="200px"] ---- Bob->Alice : hello - Alice -> Bob : Go Away + Alice -> Bob : hi ---- ``` @@ -116,7 +116,7 @@ our AsciiDoc snippets, wikis and repos using delimited blocks: :caption: Caption with **bold** and *italic* Bob -> Alice: hello - Alice -> Bob: Go Away + Alice -> Bob: hi ``` You can also use the `uml::` directive for compatibility with [sphinxcontrib-plantuml](https://pypi.org/project/sphinxcontrib-plantuml/), but please note that we currently only support the `caption` option. @@ -125,7 +125,10 @@ The above blocks will be converted to an HTML img tag with source pointing to th PlantUML instance. If the PlantUML server is correctly configured, this should render a nice diagram instead of the block: -![PlantUML Integration](../img/integration/plantuml-example.png) +```plantuml +Bob -> Alice : hello +Alice -> Bob : hi +``` Inside the block you can add any of the supported diagrams by PlantUML such as [Sequence](http://plantuml.com/sequence-diagram), [Use Case](http://plantuml.com/use-case-diagram), |