You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@isis.apache.org by ah...@apache.org on 2020/09/05 14:21:11 UTC
[isis] branch master updated: ISIS-2426: antora: switch on svg
image creation for diagrams (powered by kroki)
This is an automated email from the ASF dual-hosted git repository.
ahuber pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/isis.git
The following commit(s) were added to refs/heads/master by this push:
new 8b8ee2b ISIS-2426: antora: switch on svg image creation for diagrams (powered by kroki)
8b8ee2b is described below
commit 8b8ee2b4294d8772af29d710de1aac4a3568750a
Author: Andi Huber <ah...@apache.org>
AuthorDate: Sat Sep 5 16:18:38 2020 +0200
ISIS-2426: antora: switch on svg image creation for diagrams (powered by kroki)
---
antora/components/system/modules/ROOT/pages/l1/l1.adoc | 4 ++--
antora/components/system/modules/ROOT/pages/l1/l2.adoc | 4 ++--
antora/playbooks/site.yml | 8 ++++++--
3 files changed, 10 insertions(+), 6 deletions(-)
diff --git a/antora/components/system/modules/ROOT/pages/l1/l1.adoc b/antora/components/system/modules/ROOT/pages/l1/l1.adoc
index abc1d2b..bae758b 100644
--- a/antora/components/system/modules/ROOT/pages/l1/l1.adoc
+++ b/antora/components/system/modules/ROOT/pages/l1/l1.adoc
@@ -1,4 +1,4 @@
-[plantuml%interactive, l1, svg, format="svg", opts="inline", id="l1", width="800px"]
+[plantuml%interactive, l1, svg, id="l1", width="800px"]
----
@startuml
!includeurl https://raw.githubusercontent.com/RicardoNiepel/C4-PlantUML/master/C4_Container.puml
@@ -7,7 +7,7 @@ Person(personAlias, "Label", "Optional Description")
Container(containerAlias, "Label", "Technology", "Optional Description")
System(systemAlias, "Label", "Optional Description")
note right
-[[l2.svg]] [[l2.adoc]]
+[[../l1/l2]]
end note
Rel(personAlias, containerAlias, "Label", "Optional Technology")
diff --git a/antora/components/system/modules/ROOT/pages/l1/l2.adoc b/antora/components/system/modules/ROOT/pages/l1/l2.adoc
index 869d76d..d545feb 100644
--- a/antora/components/system/modules/ROOT/pages/l1/l2.adoc
+++ b/antora/components/system/modules/ROOT/pages/l1/l2.adoc
@@ -1,11 +1,11 @@
-[plantuml%interactive, l2, svg, format="svg", id="l2", width="800px"]
+[plantuml%interactive, l2, svg, id="l2", width="800px"]
----
@startuml
!includeurl https://raw.githubusercontent.com/RicardoNiepel/C4-PlantUML/master/C4_Container.puml
System(systemAlias, "Label", "L2")
note right
-[[l1.svg]] [[l1.adoc]]
+[[../l1/l1]]
end note
@enduml
diff --git a/antora/playbooks/site.yml b/antora/playbooks/site.yml
index c9035d0..cf5d71e 100644
--- a/antora/playbooks/site.yml
+++ b/antora/playbooks/site.yml
@@ -321,8 +321,12 @@ asciidoc:
experimental: ""
idprefix: ""
idseparator: "-"
- kroki-fetch-diagram: false
-# plantuml-server-url: "http://www.plantuml.com/plantuml"
+ # kroki
+ # for more options see https://github.com/Mogztter/asciidoctor-kroki
+ kroki-default-format: svg # (default)
+ kroki-default-options: interactive # only available for SVG
+ kroki-fetch-diagram: true
+ kroki-server-url: https://kroki.io # (default)
page-isisrel: "2.0.0-M4"
output: