Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix issues with maths in docs at gtsam.org #596

Merged
merged 1 commit into from
Nov 12, 2020

Conversation

martinvl
Copy link
Contributor

The GTSAM docs hosted at gtsam.org do not render equations properly in Chromium (and probably most other browsers). See for instance JacobianFactor.

The reason for this is that gtsam.org uses HTTPS, while the mathjax script is loaded from http://cdn.mathjax.org, which makes Chromium give the following error:

Mixed Content: The page at 'https://gtsam.org/doxygen/a03183.html' was loaded over HTTPS, but requested an insecure script 'http://cdn.mathjax.org/mathjax/latest/MathJax.js'. This request has been blocked; the content must be served over HTTPS.

This patch makes Doxygen use HTTPS against the mathjax CDN instead, which resolves this error for gtsam.org. Needless to say the HTTPS mathjax endpoint also works fine when the gtsam docs are hosted over HTTP.

Copy link
Collaborator

@varunagrawal varunagrawal left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Awesome. Thanks @martinvl.

@varunagrawal varunagrawal merged commit 405dcae into borglab:develop Nov 12, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants