Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2019-10-15 03:06:37 +0300
committerGitLab Bot <gitlab-bot@gitlab.com>2019-10-15 03:06:37 +0300
commit1dc3ec7f98798e85d8495e37691477d344c9ad5b (patch)
tree68a53e2cbc444b90d441b111f12d97825385a0d8
parent565fa11a26c6824b1c6072d2dc5459979345ee57 (diff)
Add latest changes from gitlab-org/gitlab@master
-rw-r--r--doc/administration/img/integration/plantuml-example.pngbin12559 -> 0 bytes
-rw-r--r--doc/administration/integration/plantuml.md11
2 files changed, 7 insertions, 4 deletions
diff --git a/doc/administration/img/integration/plantuml-example.png b/doc/administration/img/integration/plantuml-example.png
deleted file mode 100644
index 3e0d6389cbd..00000000000
--- a/doc/administration/img/integration/plantuml-example.png
+++ /dev/null
Binary files differ
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),