mirror of
https://github.com/CoolProp/CoolProp.git
synced 2026-01-09 22:18:10 -05:00
Fix mathjax path and add test
This commit is contained in:
@@ -124,7 +124,8 @@ if not zfile.exists():
|
|||||||
urllib.request.urlretrieve("https://github.com/mathjax/MathJax/archive/refs/tags/4.0.0.zip", zfile)
|
urllib.request.urlretrieve("https://github.com/mathjax/MathJax/archive/refs/tags/4.0.0.zip", zfile)
|
||||||
with zipfile.ZipFile(zfile) as z:
|
with zipfile.ZipFile(zfile) as z:
|
||||||
z.extractall(path=Path(__file__).parent / '_static')
|
z.extractall(path=Path(__file__).parent / '_static')
|
||||||
mathjax_path = "MathJax-master/tex-mml-chtml.js"
|
mathjax_path = "MathJax-4.0.0/tex-mml-chtml.js"
|
||||||
|
assert (Path(__file__).parent / '_static' / mathjax_path).exists()
|
||||||
|
|
||||||
# Add any paths that contain templates here, relative to this directory.
|
# Add any paths that contain templates here, relative to this directory.
|
||||||
templates_path = ['_templates']
|
templates_path = ['_templates']
|
||||||
|
|||||||
Reference in New Issue
Block a user