Skip to content

Commit 7a2ae08

Browse files
committed
#1856 - Properly enable Asciidoctor Diagram.
1 parent 755203d commit 7a2ae08

File tree

2 files changed

+10
-4
lines changed

2 files changed

+10
-4
lines changed

pom.xml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -331,6 +331,9 @@
331331
<toclevels>4</toclevels>
332332
<numbered>true</numbered>
333333
</attributes>
334+
<requires>
335+
<require>asciidoctor-diagram</require>
336+
</requires>
334337
</configuration>
335338

336339
</plugin>

src/main/asciidoc/fundamentals.adoc

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -111,16 +111,19 @@ For more information on this, have a look at <<mediatypes>>.
111111
====
112112
[plantuml, diagram-classes, format="svg"]
113113
....
114+
hide fields
115+
hide methods
116+
114117
class RepresentationModel
115118
class EntityModel
116119
class CollectionModel
117120
class PagedModel
118121
class SlicedModel
119122
120-
EntityModel -|> RepresentationModel
121-
CollectionModel -|> RepresentationModel
122-
PagedModel -|> CollectionModel
123-
SlicedModel -|> CollectionModel
123+
EntityModel -up-|> RepresentationModel
124+
CollectionModel -up-|> RepresentationModel
125+
PagedModel -up-|> CollectionModel
126+
SlicedModel -up-|> CollectionModel
124127
....
125128
====
126129

0 commit comments

Comments
 (0)