Skip to content

doctoolchain-azure-devops-pipeline does not support C4 PlantUml elements when generating a Site #62

Description

@StefH

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 <C4/C4_Container>

Boundary(system, "System") {
    Container(backend, "Back End")
    Container_Ext(frontEnd, "Front End")
}

@enduml

And in VS Code this is rendered correctly:
image

But when executing this command:

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:
image


When using the doctoolchain docker image, it works fine:

image


A repo to reproduce:
https://github.com/StefH/docToolChain-bug

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions