Skip to content

Commit

Permalink
Improve comment
Browse files Browse the repository at this point in the history
Co-authored-by: Fabian Illner <fabian@illner.dev>
  • Loading branch information
jp7677 and illnr committed Oct 23, 2023
1 parent 15ccc4c commit 8c7c1de
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -60,11 +60,11 @@ private fun asciidocToHtml(
): String {
val options = Options.builder()
.safe(SafeMode.SERVER)
// Docs dir needs to be exposed from structurizr, which is not the case at the moment.
// Docs dir needs to be exposed from structurizr using `.baseDir(File("./docs/example/workspace-docs"))`,
// which is not the case at the moment.
// Needed for partial include `include::partial.adoc[]`, which structurizr also does not support.
// see https://docs.asciidoctor.org/asciidoc/latest/directives/include/
// another option could be https://docs.asciidoctor.org/asciidoctorj/latest/locating-files/#globdirectorywalker-class
// .baseDir(File("./docs/example/workspace-docs"))
.backend("html5")
.build()
val html = asciidoctor.convert(asciidoc, options)
Expand Down

0 comments on commit 8c7c1de

Please sign in to comment.