[PATCH libinput] doc: specify the https path for mathjax

Peter Hutterer peter.hutterer at who-t.net
Wed Sep 14 00:23:02 UTC 2016


freedesktop.org always serves https for the documentation. if Mathjax is
pulled in from http, browsers reject it [1]

Let's take the default doxygen value but just add the https to it. In the
future we should just ship a copy of mathjax with our documentation.

[1] https://developer.mozilla.org/en-US/docs/Web/Security/Mixed_content/How_to_fix_website_with_mixed_content

Signed-off-by: Peter Hutterer <peter.hutterer at who-t.net>
---
 doc/libinput.doxygen.in | 1 +
 1 file changed, 1 insertion(+)

diff --git a/doc/libinput.doxygen.in b/doc/libinput.doxygen.in
index 66d7346..cd52972 100644
--- a/doc/libinput.doxygen.in
+++ b/doc/libinput.doxygen.in
@@ -14,6 +14,7 @@ IMAGE_PATH             = @top_srcdir@/doc/svg \
 			 @top_srcdir@/doc/dot
 GENERATE_HTML          = YES
 USE_MATHJAX            = YES
+MATHJAX_RELPATH        = https://cdn.mathjax.org/mathjax/latest
 GENERATE_LATEX         = NO
 MACRO_EXPANSION        = YES
 EXPAND_ONLY_PREDEF     = YES
-- 
2.7.4



More information about the wayland-devel mailing list