From 5f5bb7921bf1e1e0cb6ecc55837694605f1ad093 Mon Sep 17 00:00:00 2001 From: Aaron Rossetto Date: Tue, 14 Dec 2021 08:06:04 -0600 Subject: docs: Fix MathJax formulae rendering When a webpage is accessed via secure HTTP, and that webpage attempts to address active content via a non-secure URI, most modern browsers will block the loading of that content as a security precaution. In this case, the URI to the MathJax JavaScript rendering library was specified in the Doxygen configuration with an HTTP (i.e., non-encrypted) URI, thus preventing the browser from loading it and rendering formulae correctly. --- host/docs/Doxyfile.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'host/docs') diff --git a/host/docs/Doxyfile.in b/host/docs/Doxyfile.in index 06719dc5e..adb9999c9 100644 --- a/host/docs/Doxyfile.in +++ b/host/docs/Doxyfile.in @@ -1620,7 +1620,7 @@ MATHJAX_FORMAT = HTML-CSS # The default value is: https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.5/. # This tag requires that the tag USE_MATHJAX is set to YES. -MATHJAX_RELPATH = http://cdn.mathjax.org/mathjax/latest +MATHJAX_RELPATH = https://cdn.jsdelivr.net/npm/mathjax@2/ # The MATHJAX_EXTENSIONS tag can be used to specify one or more MathJax # extension names that should be enabled during MathJax rendering. For example -- cgit v1.2.3