Asciidoctor, has good support for diagrams with the Diagram plugin.

To make this work with Hugo, a static site generator, you need:

Then run hugo --destination public to generate your site including all diagrams. Have a look at my example repository to get an idea of how this works.