aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKapileshwar Singh <kapileshwar.singh@arm.com>2015-12-04 16:55:49 +0000
committerKapileshwar Singh <kapileshwar.singh@arm.com>2015-12-04 16:55:49 +0000
commit6f3f68e0b52589806d5b89b2eaa754f411433d3a (patch)
treeb87894933f8264810129b02b6a7a7a77a76980c5
parent37c6e2167e9480abb452d02f1cbda39434330478 (diff)
downloadbart-6f3f68e0b52589806d5b89b2eaa754f411433d3a.tar.gz
docs: Update URL path for MathJax
This is to avoid the error: <parent_URL> was loaded over HTTPS, but requested an insecure script: 'http://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML'. This request has been blocked; the content must be served over HTTPS. Signed-off-by: Kapileshwar Singh <kapileshwar.singh@arm.com>
-rw-r--r--docs/api_reference/conf.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/docs/api_reference/conf.py b/docs/api_reference/conf.py
index 1c8b61e..cc75127 100644
--- a/docs/api_reference/conf.py
+++ b/docs/api_reference/conf.py
@@ -55,6 +55,9 @@ extensions = [
'sphinx.ext.ifconfig',
'sphinx.ext.viewcode']
+# Update MathJax path to use the cdnjs using HTTPS
+mathjax_path = "https://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML"
+
# Add any paths that contain templates here, relative to this directory.
templates_path = ['_templates']