Skip to content

Commit 87a88b1

Browse files
committed
src/sage_docbuild/conf.py: simplify path to tex-chtml.js (mathjax)
Use "tex-chtml.js" instead of "mathjax/tex-chtml.js" as sphinx's mathjax_path, relative to MATHJAX_DIR. The additional "mathjax" subdirectory will be added to MATHJAX_DIR by spkg-configure and sage_conf. Closes: #30296
1 parent de55f27 commit 87a88b1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/sage_docbuild/conf.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -374,7 +374,7 @@ def set_intersphinx_mappings(app, config):
374374
if os.environ.get('SAGE_USE_CDNS', 'no') == 'yes':
375375
mathjax_path = "https://cdn.jsdelivr.net/npm/mathjax@3/es5/tex-chtml.js"
376376
else:
377-
mathjax_path = 'mathjax/tex-chtml.js'
377+
mathjax_path = 'tex-chtml.js'
378378
html_common_static_path += [MATHJAX_DIR]
379379

380380
# A list of glob-style patterns that should be excluded when looking for source

0 commit comments

Comments
 (0)