diff --git a/Web/conf.py b/Web/conf.py index f15af817..92853881 100644 --- a/Web/conf.py +++ b/Web/conf.py @@ -124,7 +124,8 @@ if not zfile.exists(): urllib.request.urlretrieve("https://github.com/mathjax/MathJax/archive/refs/tags/4.0.0.zip", zfile) with zipfile.ZipFile(zfile) as z: 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. templates_path = ['_templates']