-
Notifications
You must be signed in to change notification settings - Fork 31
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #51 from jp7677/software-system-home
Show documentation section on software systems home
- Loading branch information
Showing
5 changed files
with
51 additions
and
5 deletions.
There are no files selected for viewing
11 changes: 11 additions & 0 deletions
11
docs/example/internet-banking-system/docs/0001-introduction.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
# Description | ||
|
||
This is our fancy Internet Banking System. | ||
|
||
## Vision | ||
|
||
One system to rule them all! | ||
|
||
## References | ||
|
||
- Source Code on GitHub: [https://github.com/avisi-cloud/structurizr-site-generatr] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
5 changes: 1 addition & 4 deletions
5
src/main/kotlin/nl/avisi/structurizr/site/generatr/site/views/SoftwareSystemHomePage.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,10 @@ | ||
package nl.avisi.structurizr.site.generatr.site.views | ||
|
||
import kotlinx.html.HTML | ||
import kotlinx.html.h1 | ||
import kotlinx.html.p | ||
import nl.avisi.structurizr.site.generatr.site.model.SoftwareSystemHomePageViewModel | ||
|
||
fun HTML.softwareSystemHomePage(viewModel: SoftwareSystemHomePageViewModel) { | ||
softwareSystemPage(viewModel) { | ||
h1 { +"Description" } | ||
p { +viewModel.description } | ||
markdown(viewModel, viewModel.content) | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters