sbrunk / storch

GPU accelerated deep learning and numeric computing for Scala 3.
https://storch.dev
Apache License 2.0
113 stars 7 forks source link

Render mathematical expressions in docs #6

Open sbrunk opened 1 year ago

sbrunk commented 1 year ago

We want to be able to render math expression in our docs (Scaladoc as well as Laika docs), like PyTorch does with MathJax:

image

For Scaladoc there is an open issue already https://github.com/lampepfl/dotty/issues/15433 but I haven't gotten around to work on it yet. For Laika it should be easier as we control the template so we could try to embed MathJax or Katex there.

sbrunk commented 1 year ago

Done for Laika (introductory docs) in #12 with KaTeX, but still needs to be done for Scaladoc.