Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[SPARK-49072][DOCS] Fix abnormal display of text content which contai…
…ns two $ in one line but non-formula in docs ### What changes were proposed in this pull request? There are some display exceptions in some documents currently, for examples: - https://spark.apache.org/docs/3.5.1/running-on-kubernetes.html#secret-management ![image](https://github.com/user-attachments/assets/5a4fa4e0-b773-4007-96d0-c036bc7e0c13) - https://spark.apache.org/docs/latest/sql-migration-guide.html ![image](https://github.com/user-attachments/assets/e5f7ea17-9573-4917-b9cd-e36fd83d35fb) The reason is that the `MathJax` javascript package will display the content between two $ as a formula. This PR aims to fix abnormal display of text content which contains two $ in one line but not non-formula in docs. ### Why are the changes needed? Fix doc display exceptions. ### Does this PR introduce _any_ user-facing change? Yes, Improve user experience about docs. ### How was this patch tested? Local manual tests with command `SKIP_API=1 bundle exec jekyll build --watch`. The new results after this PR: ![image](https://github.com/user-attachments/assets/3d0b62fc-44da-45cd-a295-5d098ce3b8ec) ![image](https://github.com/user-attachments/assets/f8884a26-7029-4926-a290-a24b7ae75fa4) ![image](https://github.com/user-attachments/assets/6d7a1289-b459-4ad3-8636-e4713ead3921) ![image](https://github.com/user-attachments/assets/216dbd8d-4bd5-43b6-abc5-082aea543888) ### Was this patch authored or co-authored using generative AI tooling? No. Closes #47548 from wayneguow/latex_error. Authored-by: Wei Guo <[email protected]> Signed-off-by: Hyukjin Kwon <[email protected]>
- Loading branch information