Open plafer opened 3 months ago
I think this is already supported (e.g., see here). To view docs with formulas rendered correctly locally, you should be able to run the following command:
RUSTDOCFLAGS="--html-in-header .cargo/katex-header.html" cargo doc --manifest-path sumcheck/Cargo.toml --open --no-deps
Or is there anything else missing?
Oh I would just run cargo doc --open
and (obviously) see the unrendered latex, and I didn't realize that you had solved the problem already.
I would add a section to the README
which documents how to generate the docs locally properly.
This example repo shows how to render Latex in docs.
This is now needed with LogUp-GKR, where our docs use a fair amount of Latex.