From a3ec8c084835cc64f1d049f2f5de9bcb8d0e744a Mon Sep 17 00:00:00 2001 From: Ray Speth Date: Thu, 7 May 2015 11:24:21 -0400 Subject: [PATCH] [Doc] Use https for MathJax CDN This is needed to make MathJax work when loading the documentation over an https URL, since some browsers block scripts from non-https sites when loading a page over https. --- doc/doxygen/Doxyfile | 2 +- doc/sphinx/conf.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/doxygen/Doxyfile b/doc/doxygen/Doxyfile index 1abb83b5b..677098dd8 100644 --- a/doc/doxygen/Doxyfile +++ b/doc/doxygen/Doxyfile @@ -15,7 +15,7 @@ #--------------------------------------------------------------------------- USE_MATHJAX = YES -MATHJAX_RELPATH = http://cdn.mathjax.org/mathjax/latest +MATHJAX_RELPATH = https://cdn.mathjax.org/mathjax/latest # This tag specifies the encoding used for all characters in the config file # that follow. The default is UTF-8 which is also the encoding used for all diff --git a/doc/sphinx/conf.py b/doc/sphinx/conf.py index 36f794e6a..0d7d3fca1 100644 --- a/doc/sphinx/conf.py +++ b/doc/sphinx/conf.py @@ -52,7 +52,7 @@ autodoc_default_flags = ['members','show-inheritance','undoc-members'] autoclass_content = 'both' -mathjax_path = 'http://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML' +mathjax_path = 'https://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML' doxylink = { 'ct' : (os.path.abspath('../../build/docs/Cantera.tag'),