Closed ggrossetie closed 2 years ago
Done.
We should also make it extensible to add additional information. For instance, when the extension is used in GitLab, we could also add the version of GitLab (...)
I didn't implement this feature as we don't need it for now.
I think we should set the application name as
referrer
(HTTP header). Sincereferrer
expects a URL, we could useasciidoctor/kroki.<ext>/<version>
for instance:asciidoctor/kroki.js/0.12.0
andasciidoctor/kroki.rb/0.4.0
.We should also make it extensible to add additional information. For instance, when the extension is used in GitLab, we could also add the version of GitLab:
Similarly, we could add the version of Antora (if available):
Alternatively, we could use a query strings: