-
-
Notifications
You must be signed in to change notification settings - Fork 10.6k
[Docs] Fix math rendering in docs #23676
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Signed-off-by: Harry Mellor <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Code Review
This pull request correctly fixes the math rendering in the documentation by migrating from mdx_math
to the recommended pymdownx.arithmatex
extension with MathJax 3, as suggested by the mkdocs-material
theme documentation. The changes are well-implemented, including the new MathJax configuration script and dependency updates. I have one high-severity suggestion to pin the MathJax version to prevent potential future build failures due to unexpected updates.
Signed-off-by: Harry Mellor <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for fixing!
Signed-off-by: Harry Mellor <[email protected]> Signed-off-by: tc-mb <[email protected]>
Signed-off-by: Harry Mellor <[email protected]>
Signed-off-by: Harry Mellor <[email protected]> Signed-off-by: Xiao Yu <[email protected]>
Signed-off-by: Harry Mellor <[email protected]>
Signed-off-by: Harry Mellor <[email protected]>
Signed-off-by: Harry Mellor <[email protected]>
I noticed that math rendering was broken.
I've updated it to use the plugin bundled with MkDocs Material as documented in https://squidfunk.github.io/mkdocs-material/reference/math/#mathjax.
You can verify that it's working by going to the Softmax section of the Paged Attention design doc.