You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.adoc
+47-36Lines changed: 47 additions & 36 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -9,7 +9,9 @@ It shows how to use the techniques described in https://www.workingsoftware.dev/
9
9
10
10
Check out the deployed https://bitsmuggler.github.io/arc42-c4-software-architecture-documentation-example/[HTML build] provided on GitHub Pages.
11
11
12
-
Technologies involved:
12
+
:toc:
13
+
14
+
== Technologies
13
15
14
16
* https://arc42.org/[arc42] to get the structure for the software architecture documentation
15
17
* https://c4model.com/[C4 Model] an "abstraction-first" approach to diagramming software architecture, based upon abstractions that reflect how software architects and developers think about and build software.
@@ -22,43 +24,12 @@ Technologies involved:
22
24
23
25
For more tech inspiration take a look at the https://www.workingsoftware.dev/documentation-as-code-tools[Documentation as Code Technology Radar]
Download the https://github.com/structurizr/cli/releases[structurizr-cli], unzip and move it into `./bin/structurizr-cli` or use the latest Docker Image
https://doctoolchain.org/docToolchain/[docToolchain] uses the Structurizr CLI to generate the PlantUML diagrams from the C4 Model described in the Structurizr DSL.
28
+
== Prerequisites
55
29
56
-
[source, bash]
57
-
----
58
-
./dtcw exportStructurizr
59
-
----
30
+
=== Migrate markdown based ADRs from adr-tools to AsciiDoc
60
31
61
-
== Migrate markdown based ADRs from adr-tools to AsciiDoc
32
+
Unfortunately, the adr-tools do not support AsciiDoc as a format for the ADRs. Therefore, you have to migrate the existing markdown based ADRs to AsciiDoc.
62
33
63
34
=== Install and configure adr-tools
64
35
@@ -102,7 +73,18 @@ What becomes easier or more difficult to do and any risks introduced by the chan
== Generate the software architecture documentation representations
76
+
== Build the software architecture documentation
77
+
78
+
=== Generate PlantUML Diagrams from the C4 Model
79
+
80
+
https://doctoolchain.org/docToolchain/[docToolchain] uses the Structurizr CLI to generate the PlantUML diagrams from the C4 Model described in the Structurizr DSL.
81
+
82
+
[source, bash]
83
+
----
84
+
./dtcw exportStructurizr
85
+
----
86
+
87
+
=== Generate the software architecture documentation representations
106
88
107
89
NOTE: these examples use the public https://kroki.io[kroki.io] instance to generate the diagrams.
108
90
For your own documentation, replace the references to kroki.io with your own kroki instance.
@@ -126,4 +108,33 @@ Generate the documentation as Microsite
126
108
[source, bash]
127
109
----
128
110
./dtcw generateSite
111
+
----
112
+
113
+
=== Appendix
114
+
115
+
If you want to build everything without the `./dtcw` script, you can use the following commands.
116
+
117
+
==== Generate the PlantUML diagrams from the Structurizr DSL
* Download the https://github.com/structurizr/cli/releases[structurizr-cli], unzip and move it into `./bin/structurizr-cli` or use the latest Docker Image
0 commit comments