You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am trying to create a set of libraries of files that are included in most of my plantuml diagrams and I'm having a hard time figuring out why kroki-plantuml-include-paths is not working
My setup:
Ubuntu 20.04 on which I have
a local kroki server started with the follwoing docker compose file:
kroki-plantuml-include-paths is currently only supported when using the JavaScript extension.
So this feature needs to be implemented in the Ruby extension as well.
@Mogztter I'm interested in working on this issue but I don't know how to start it, for example Asciidoctor::PreprocessorReader#resolve_include_path doesn't seem to support a list of possible directories to look into, could you explain how the case should be handled? Thanks!
I'm interested in working on this issue but I don't know how to start it, for example Asciidoctor::PreprocessorReader#resolve_include_path doesn't seem to support a list of possible directories to look into, could you explain how the case should be handled? Thanks!
We should use our own mechanism. Asciidoctor::PreprocessorReader#resolve_include_path is used to resolve the include:: directive in Asciidoctor. The PlantUML !include directive achieves a similar goal but does not work exactly the same.
The goal here is to implement the following JavaScript function in Ruby:
Hi,
I am trying to create a set of libraries of files that are included in most of my plantuml diagrams and I'm having a hard time figuring out why
kroki-plantuml-include-paths
is not workingMy setup:
Ubuntu 20.04 on which I have
and to which I installed the gem using
lib.puml
seq.puml
test.adoc
all the files are in the same directory(mounted to /documents to docker)
Kroki log shows
:kroki-plantuml-include: {docdir}/lib.puml
worked but this is not enough for me as I have different includes for different files.My project is more complicated than this, with a more elaborated folder structure but I strip it down to the simplest form and not even this works.
What am I doing wrong?
The text was updated successfully, but these errors were encountered: