adrianvlupu / C4-Builder

This is a documentation builder. You feed it .md and .puml and it exports a site, pdf, or a markdown with navigation.
https://adrianvlupu.github.io/C4-Builder/
MIT License
562 stars 93 forks source link

Diagrams at arbitrary position and DITAA diagrams #56

Closed MickeJohannesson closed 2 years ago

MickeJohannesson commented 2 years ago

Used base from #28 and done some modifications to it Fixes the issure #21

MickeJohannesson commented 2 years ago

Added in the fix for #52

biznuge commented 2 years ago

@MickeJohannesson - Love the new position your diagram anywhere in the .md file. One thing I noted is the command line now requires input. it there a non-interactive flag that we can use to bypass this for CI builds etc.

Again. Nice PR. :)

vellala2000 commented 2 years ago

I had the same problem running the build in the pipeline. However its resolved after adding the new configs and removed file hashes from .c4builder. Not exactly 100% sure which one did the trick. Here are the properties i currently have

{
    "plantumlVersion": "latest",
    "projectName": "",
    "homepageName": "",
    "repoUrl": "",
    "rootFolder": "",
    "distFolder": "",
    "generateMD": false,
    "generatePDF": false,
    "generateCompleteMD": true,
    "generateCompletePDF": false,
    "generateWEB": true,
    "supportSearch": true,
    "webTheme": "//unpkg.com/docsify/lib/themes/vue.css",
    "docsifyTemplate": "",
    "webPort": "3000",
    "pdfCss": "",
    "includeBreadcrumbs": true,
    "includeLinkToDiagram": false,
    "diagramsOnTop": true,
    "embedDiagram": false,
    "generateLocalImages": true,
    "plantumlServerUrl": "https://www.plantuml.com/plantuml",
    "diagramFormat": "svg",
    "charset": "UTF-8",
    "hasRun": true,
    "excludeOtherFiles": false
}