Repository navigation
chore: merge main into dev/0.9 - #252
Merged
Merged
Conversation
Comments no longer reserve an issue; work is coordinated through draft PRs that report local test or benchmark results. Contributors with a merged PR may ask to be assigned, and when several PRs address the same issue the first to pass review is merged.
pymdown-extensions 13 HTML-escapes the TeX it writes into MathJax 2 <script type="math/tex"> elements. Browsers do not decode entities in script contents, so formulas containing <, > or & (\left<, align &) reached MathJax as \left< and failed to render on the estimator, inner-product kernel and quantizer pages. Switch arithmatex to generic mode with MathJax 3, whose delimited text the browser decodes before typesetting, and pin pymdown-extensions so the docs build no longer floats to new releases.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Brings the two documentation commits on
mainafter v0.8.5 intodev/0.9: MathJax 3 with a pinnedpymdown-extensions(2122ab2) and the contribution guide's change to stop reserving issues on comment (54dd9aa). It goes through a pull request because pushes todev/0.9run no CI.Merge this with a merge commit, not a squash, so
dev/0.9recordsmainas merged.Conflicts
None. Both sides edited
docs/mkdocs.yml, in different places:dev/0.9keeps its release-notes navigation entry, andmainbrings thearithmatexgenericsetting and the MathJax 3 scripts.Changes git could not make
None needed:
dev/0.9still says that a comment reserves an issue.dev/0.9since v0.8.5, so the MathJax 3 setup thatmainuses for the same pages applies unchanged.Testing
mkdocs build --strictpasses; the math pages render througharithmatexwith the bundledjavascripts/mathjax.js. The local environment haspymdown-extensions11.0.2, not the 13.1 thatdocs/requirements.txtnow pins, so the Documentation check covers the pinned version.git diff --check.