From 124ba754f9a08741ecc4d31d8117c09f194d2bd0 Mon Sep 17 00:00:00 2001 From: "Y. Yang" Date: Sun, 12 Jun 2022 14:51:04 +0800 Subject: [PATCH] Use MathJax to render formula in doc (#3004) MOI uses MathJax to render formula correctly. https://github.com/jump-dev/MathOptInterface.jl/blob/fd3d4aa5c8fe0fb2ad412ffcf1825e2ec914a99b/docs/make.jl#L99 --- docs/make.jl | 1 + 1 file changed, 1 insertion(+) diff --git a/docs/make.jl b/docs/make.jl index 63c4508cb81..82399a5340d 100644 --- a/docs/make.jl +++ b/docs/make.jl @@ -291,6 +291,7 @@ _validate_pages() # See https://github.com/JuliaDocs/Documenter.jl/issues/868 prettyurls = get(ENV, "CI", nothing) == "true", analytics = "UA-44252521-1", + mathengine = Documenter.MathJax2(), collapselevel = 1, assets = ["assets/extra_styles.css"], sidebar_sitename = false,