htl-leonding-college / asciidoctor-docker-template

A template project for creating doc-as-code with docker
https://htl-leonding-college.github.io/asciidoctor-docker-template/
14 stars 16 forks source link

Question: Run code at compile time #10

Open stefnotch opened 4 years ago

stefnotch commented 4 years ago

Context Recently a discussion about automatically creating some coronavirus graphs came up in one of my Discord servers. The simplest option was using a static site generator, adding a bit of code and then pushing the site to GitHub pages.

Question What would be the best way to run some code that calls a REST API and generates a graph during compilation?