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

Update mathjax.html #6

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

DylanLawless
Copy link

I believe the path on line 3 for this script should be from the directory root rather than /just-the-docs-tests:

From this:
src="/just-the-docs-tests/assets/js/mathjax-script-type.js">

To this:
src="/assets/js/mathjax-script-type.js">.

The former version will still work when not required but causes this error message: ERROR `/just-the-docs-tests/assets/js/mathjax-script-type.js' not found.

I believe the path on line 3 for this script should be from the directory root rather than `/just-the-docs-tests`:

From this:
`src="/just-the-docs-tests/assets/js/mathjax-script-type.js">`

To this: 
`src="/assets/js/mathjax-script-type.js">`.

The former version will still work when not required but causes this error message:
ERROR `/just-the-docs-tests/assets/js/mathjax-script-type.js' not found.
@pdmosses
Copy link
Collaborator

@DylanLawless Thanks for submitting a PR for this repo.

When I make the proposed update to line 3 and build the site locally, I get:

[...] ERROR `/assets/js/mathjax-script-type.js' not found.

I think line 3 should instead be replaced by:

  src="{{ site.baseurl }}/assets/js/mathjax-script-type.js">

If you agree, please update the PR accordingly, and check that the MathJax test pages are error-free.

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