-
-
Notifications
You must be signed in to change notification settings - Fork 481
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
math formulas in published 10.2 documentation are broken #36824
Comments
|
This is strange, as we now have a CI which builds and publishes (temp) docs, see e.g. |
@haraldschilly - would installing mathjax locally on the server solve this? |
On that page, the same asset is loaded from an external site:
So, the question is, how can the location be changed? In general, if there is a breaking change for publishing the documentation, it would be really nice if I get to know it. |
the line you cite comes from if os.environ.get('SAGE_USE_CDNS', 'no') == 'yes':
mathjax_path = "https://cdn.jsdelivr.net/npm/mathjax@3/es5/tex-chtml.js"
else:
mathjax_path = os.path.join(MATHJAX_DIR, 'tex-chtml.js') did you have |
what's |
@dimpase No, I just run |
https://deploy-preview-36771--sagemath-tobias.netlify.app/html/en/ |
I understood your |
@haraldschilly You can find the workflow that currently publishes the dev-preview of the docs at https://github.com/sagemath/sage/blob/develop/.github/workflows/doc-build.yml. Thanks for your continued work on the docs. As it is hard to test your post-processing, would it be possible if you could add them here in the main repo? Maybe we can even set-up an automatic publishing to production on releases, fully automating the process. |
Steps To Reproduce
build the html files via the
doc-html
build targetExpected Behavior
the URLs of all assets in all
*html
pages must be relative, not absolute.Actual Behavior
The
doc-html
build target produces the*.html
artifacts. They contain an absolute paths:Additional Information
The browser can't load the asset. This is the error.
The
"/home/user/sage-git/local/"
shouldn't be there.In the vicinity of this in the generated html pages at the bottom, there are other assets loaded like that:
P.S.: I had to click on the "I have read the documentation and troubleshoot guide" checkbox to submit this issue, although I did NOT read it. Please let me know if there is a fix for this anywhere in it.
Environment
Checklist
The text was updated successfully, but these errors were encountered: