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/08 08:45:23 UTC
[isis] branch master updated: ISIS-2426: adoc: fixes the c4 example
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 3116a63 ISIS-2426: adoc: fixes the c4 example
3116a63 is described below
commit 3116a6382577eb0a71a0d972112c5ded2a8c8eb1
Author: Andi Huber <ah...@apache.org>
AuthorDate: Tue Sep 8 10:44:52 2020 +0200
ISIS-2426: adoc: fixes the c4 example
---
.../documentation/pages/asciidoc-syntax.adoc | 26 ++++++++++++++--------
.../system/modules/ROOT/pages/c4/system.adoc | 3 ---
2 files changed, 17 insertions(+), 12 deletions(-)
diff --git a/antora/components/conguide/modules/documentation/pages/asciidoc-syntax.adoc b/antora/components/conguide/modules/documentation/pages/asciidoc-syntax.adoc
index b029100..af2e628 100644
--- a/antora/components/conguide/modules/documentation/pages/asciidoc-syntax.adoc
+++ b/antora/components/conguide/modules/documentation/pages/asciidoc-syntax.adoc
@@ -795,7 +795,7 @@ Asciidoctor includes support for the link:https://c4model.com//[c4 model].
For example:
....
-[plantuml,c4-demo,svg]
+[c4plantuml,c4-demo,svg]
----
@startuml
!includeurl https://raw.githubusercontent.com/RicardoNiepel/C4-PlantUML/master/C4_Container.puml
@@ -818,16 +818,24 @@ Rel(banking_system, mainframe, "Uses")
renders as:
-[plantuml,c4-demo,svg]
+[c4plantuml,c4-demo,svg]
----
-class Car
+@startuml
+!includeurl https://raw.githubusercontent.com/RicardoNiepel/C4-PlantUML/master/C4_Container.puml
-Driver - Car : drives >
-Car *- Wheel : have 4 >
-Car -- Person : < owns
-note right
-[[../l1/l2]]
-end note
+title System Context diagram for Internet Banking System
+
+Person(customer, "Banking Customer", "A customer of the bank, with personal bank accounts.")
+System(banking_system, "Internet Banking System", "Allows customers to check their accounts.")
+
+System_Ext(mail_system, "E-mail system", "The internal Microsoft Exchange e-mail system.")
+System_Ext(mainframe, "Mainframe Banking System", "Stores all of the core banking information.")
+
+Rel(customer, banking_system, "Uses")
+Rel_Back(customer, mail_system, "Sends e-mails to")
+Rel_Neighbor(banking_system, mail_system, "Sends e-mails", "SMTP")
+Rel(banking_system, mainframe, "Uses")
+@enduml
----
diff --git a/antora/components/system/modules/ROOT/pages/c4/system.adoc b/antora/components/system/modules/ROOT/pages/c4/system.adoc
index a462825..5f03a28 100644
--- a/antora/components/system/modules/ROOT/pages/c4/system.adoc
+++ b/antora/components/system/modules/ROOT/pages/c4/system.adoc
@@ -1,6 +1,3 @@
-ifdef::env-idea[:kroki-default-options: inline]
-
-
= System
WARNING: this is work-in-progress.