docToolchain / docToolchain/docker-image
doctoolchain-azure-devops-pipeline does not support C4 PlantUml elements when generating a Site
- Dominant language
- Groovy
- Stars
- 4
- Forks
- 15
- PR merge metrics
- No merged PRs in 30d
Description
I've this **asciidoc** page:
```
:jbake-title: System Scope and Context
:jbake-type: page_toc
:jbake-status: published
:jbake-menu: arc42
:jbake-order: 3
:filename: /chapters/03_system_scope_and_context.adoc
ifndef::diagramsDir[:diagramsDir: ../diagrams]
text
plantuml::{diagramsDir}/container.puml[]
text
```
And the **PlantUml** looks like this:
```
@startuml Test
!include
Boundary(system, "System") {
Container(backend, "Back End")
Container_Ext(frontEnd, "Front End")
}
@enduml
```
And in VS Code this is rendered correctly:

But when executing this command:
``` ps
docker run --rm --entrypoint /bin/bash -it -v %cd%:/project docker.io/doctoolchain/doctoolchain-azure-devops-pipeline:v3.3.1 -c "doctoolchain . generateSite -PmainConfigFile=config/docToolchainConfig.groovy --warning-mode=none --no-daemon && exit"
```
I get this error:
```
Container(backend, "Back End")
^^^^^
Function not found Container
```
And the generated html page looks like this:

---
When using the doctoolchain docker image, it works fine:
```docker run --rm --entrypoint /bin/bash -it -v %cd%:/project docker.io/doctoolchain/doctoolchain:v3.3.1 -c "doctoolchain . generateSite -PmainConfigFile=config/docToolchainConfig.groovy --warning-mode=none --no-daemon && exit"
```

---
A repo to reproduce:
https://github.com/StefH/docToolChain-bug
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.