Skip to content

Commit

Permalink
GH-220 - Documentation polish.
Browse files Browse the repository at this point in the history
  • Loading branch information
yossisp authored and odrotbohm committed Aug 10, 2023
1 parent 0de4879 commit 0b110f7
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
5 changes: 3 additions & 2 deletions src/docs/asciidoc/60-documentation.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,7 @@ package "Application" <<Container>> {

The Application Module Canvases can be generated by calling `Documenter.writeModuleCanvases()`:

.Generating application module component diagrams using `Documenter`
.Generating application module canvases using `Documenter`
[source, java]
----
class DocumentationTests {
Expand All @@ -199,7 +199,8 @@ class DocumentationTests {
}
----

A canvas generated looks like this:
By default, the documentation will be generated to `spring-modulith-docs` folder in your build system's build folder.
A generated canvas looks like this:

.A sample Application Module Canvas
[cols="1h,4a"]
Expand Down
2 changes: 1 addition & 1 deletion src/docs/asciidoc/70-runtime.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ The execution order of those beans will automatically follow the application mod
class MyInitializer implements ApplicationModuleInitializer {
@Override
void initialize() {
public void initialize() {
// Initialization code goes here
}
}
Expand Down

0 comments on commit 0b110f7

Please sign in to comment.