Skip to content

Commit

Permalink
Fix some whitespace issues and reformat table in readme file.
Browse files Browse the repository at this point in the history
  • Loading branch information
qtzar committed Oct 13, 2023
1 parent 407e10a commit 73d146d
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 7 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -261,10 +261,10 @@ architecture model:
| `generatr.style.faviconPath` | Site logo location relative to the configured `assets` folder. When configured, the logo image will be place on the left side in the header bar. This requires the `--assets-dir` switch when generating the site and the corresponding file to be available in the `assets` folder. | | `site/favicon.ico` |
| `generatr.style.logoPath` | Site favicon location relative to the configured `assets` folder. When configured, the favicon will be set for all generated pages. This requires the `--assets-dir` switch when generating the site and the corresponding file to be available in the `assets` folder. | | `site/logo.png` |
| `generatr.style.customStylesheet` | URL to hosted custom stylesheet or path to custom stylesheet file (location relative to the configured `assets` folder). When configured this css file will be loaded for all pages. When using a path to a file the `--assets-dir` switch must be used when generating the site and the corresponding file is available in the `assets` folder. | | `site/custom.css` or 'https://uri.example/custom.css |
| `generatr.search.language` | Indexing/stemming language for the search index. See [Lunr language support](https://github.com/olivernn/lunr-languages) | `en` | `nl` |
| `generatr.markdown.flexmark.extensions` | Additional extensions to the markdown generator to add new markdown capabilities. [More Details](https://avisi-cloud.github.io/structurizr-site-generatr/main/extended-markdown-features/) | Tables | `Tables,Admonition` |
| `generatr.svglink.target` | Specifies the link target for element links in the exported svg | `_top` | `_self` |
| `generatr.site.nestGroups` | Will show software systems in the left side navigator in collapsable groups | `false` | `true` |
| `generatr.search.language` | Indexing/stemming language for the search index. See [Lunr language support](https://github.com/olivernn/lunr-languages) | `en` | `nl` |
| `generatr.markdown.flexmark.extensions` | Additional extensions to the markdown generator to add new markdown capabilities. [More Details](https://avisi-cloud.github.io/structurizr-site-generatr/main/extended-markdown-features/) | Tables | `Tables,Admonition` |
| `generatr.svglink.target` | Specifies the link target for element links in the exported svg | `_top` | `_self` |
| `generatr.site.nestGroups` | Will show software systems in the left side navigator in collapsable groups | `false` | `true` |


See the included example for usage of some those properties in the
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -57,5 +57,4 @@ class MenuViewModel(generatorContext: GeneratorContext, private val pageViewMode
.sortedBy { it.lowercase() }

private val delimiter = '/'

}
Original file line number Diff line number Diff line change
Expand Up @@ -69,12 +69,12 @@ private fun buildHtmlTree(node: MenuNodeViewModel, viewModel: MenuViewModel): UL
}
}
}

if (node.name.isEmpty() && node.children.isNotEmpty()) {
ul(classes = "listree-submenu-items") {
for (child in node.children) {
buildHtmlTree(child, viewModel).invoke(this)
}
}
}

}
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,6 @@ class MenuViewModelTest : ViewModelTest() {
assertThat(it.softwareSystemNodes().children[0].children[0].children[0].name).isEqualTo("System 4")
}


}

private fun createPageViewModel(generatorContext: GeneratorContext, url: String = "/master/page"): PageViewModel {
Expand Down

0 comments on commit 73d146d

Please sign in to comment.