Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use kroki.io to render diagrams #37

Open
phertweck opened this issue Jan 16, 2023 · 5 comments
Open

Use kroki.io to render diagrams #37

phertweck opened this issue Jan 16, 2023 · 5 comments

Comments

@phertweck
Copy link

In context with #31, it would be good to use kroki.io to render diagrams. Especially to support a broader variety of diagram libraries.

@00Asgaroth00
Copy link

00Asgaroth00 commented Feb 22, 2023

+1
It would be great if kroki was an option to use, but, to also make it configurable for using a local instance or and external instance (kroki.io)

I'm currently having an issue generating rackdiag images as the docker container does not appear to have rackdiag/rackdiag3 installed, according to the following message:

> Task :generateHTML
Converting /project/docs/rack_layout.adoc
rack_layout.adoc: line 27: Failed to generate image: Could not find the rackdiag, rackdiag3 executable in PATH; add it to the PATH or specify its location using the rackdiag document attribute

@rdmueller
Copy link
Member

Yes, great idea! Anyone ready to create a pull request?

@phertweck
Copy link
Author

Unfortunately, I don't have any idea how to configure docToolchain to use an external kroki instance.

@rdmueller
Copy link
Member

https://docs-as-co.de/news/diagrams-with-kroki/

but it would be also great to have a kroki instance running inside the docker container. This should be possible with the fat-jar provided by kroki.io

@rdmueller
Copy link
Member

see also docToolchain/docToolchain#531

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants