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

Feature Request 55 - Partial build (image generation) #58

Closed MickeJohannesson closed 2 years ago

MickeJohannesson commented 2 years ago

Solution that will only regenerate images for updated PUML files - #55 This will only act when doing local images generation

Also moved some part out of the inner for loop, because it will never change during a run and no need to re-evaluate

For my current project it takes about 35s to generate a site with local images. On update it takes about 2-4s depending on complexity of PUML diagram.

adrianvlupu commented 2 years ago

Excelent work. Thanks a lot for this. The only thing I changed is the need for the json file holding the array. I wrote it to the .c4builder file.