data-apis / array-api

RFC document, tooling and other content related to the array API standard
https://data-apis.github.io/array-api/latest/
MIT License
204 stars 42 forks source link

Autogenerated page for cholesky does not render some math symbols correctly #761

Closed oleksandr-pavlyk closed 3 months ago

oleksandr-pavlyk commented 3 months ago

This page https://data-apis.org/array-api/draft/extensions/generated/array_api.linalg.cholesky.html#array_api.linalg.cholesky renders as follows for me:

image

Notice that only the first math expression $\mathbb{K}$ is rendered correctly, while subsequent $\mathbb{R}$, $\mathbb{K}$, and $\mathbb{C}$ did not.

Not sure how to fix this though.

asmeurer commented 3 months ago

The source is using $ instead of :math: for these expressions. If we want to use $ in RST we need to add the extension sphinx-math-dollar.