Skip to content

Commit 662adac

Browse files
committed
GH-578 - Improve nesting code sample in reference documentation.
1 parent 7838204 commit 662adac

File tree

1 file changed

+10
-1
lines changed

1 file changed

+10
-1
lines changed

src/docs/antora/modules/ROOT/pages/fundamentals.adoc

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -180,22 +180,31 @@ To define nested application modules, explicitly annotate packages that are supp
180180
----
181181
icon:cubes[] Example
182182
└─ icon:folder[] src/main/java
183+
|
183184
├─ icon:cube[] example
184185
| └─ icon:plus-circle[role=green] Application.java
186+
|
187+
| -> Inventory
188+
|
185189
├─ icon:cube[] example.inventory
186190
| ├─ icon:plus-circle[role=green] InventoryManagement.java
187191
| └─ icon:minus-circle[role=red] SomethingInventoryInternal.java
188192
├─ icon:cube[] example.inventory.internal
189193
| └─ icon:plus-circle[role=red] SomethingInventoryInternal.java
194+
|
195+
| -> Inventory > Nested
196+
|
190197
├─ icon:cube[] example.inventory.nested
191198
| ├─ icon:coffee[] package-info.java // @ApplicationModule
192199
| └─ icon:plus-circle[role=yellow] NestedApi.java
193200
├─ icon:cube[] example.inventory.nested.internal
194201
| └─ icon:minus-circle[role=red] NestedInternal.java
202+
|
203+
| -> Order
204+
|
195205
└─ icon:cube[] example.order
196206
├─ icon:plus-circle[role=green] OrderManagement.java
197207
└─ icon:minus-circle[role=red] SomethingOrderInternal.java
198-
199208
----
200209

201210
In this example `inventory` is an application module as described xref:fundamentals.adoc#modules.simple[above].

0 commit comments

Comments
 (0)