Hello all, I am a bit stumped here. I have a project here that contains a lot of math in the documentation. I am using katex via the --html-in-header
flag and it all used to work out fine. I added a new module statistics
in the branch and built the documentation locally via
RUSTDOCFLAGS="--html-in-header katex-header.html" cargo doc --no-deps --open
And it works for every module but the new statistics
module. In that module the formulas are displayed as code $f(x,y$)$
, with dollar signs around it rather than rendered in katex. This is also what the generated hmtl shows. I am really stumped. Why does this not work for the newly added module but it works for all the old modules on the same level of the module tree??
(Disclosure: I posted this to Rust reddit, but I did not get an answer unfortunately)