Skip to content

Commit

Permalink
MLDB-2183 includede mathjax (#880)
Browse files Browse the repository at this point in the history
  • Loading branch information
Mich authored Apr 11, 2017
1 parent 54f56c5 commit d56e651
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 1 deletion.

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion server/static_content_handler.cc
Original file line number Diff line number Diff line change
Expand Up @@ -262,7 +262,7 @@ getStaticRouteHandler(string dir, MldbServer * server, bool hideInternalEntities
result += "<head>\n";
result += "<meta charset='utf-8' />\n";
result += "<title>MLDB Documentation</title>\n";
result += "<script src='https://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML'></script>\n";
result += "<script src='" + server->prefixUrl("/resources/js/mathjax_TeX-AMS-MML_HTMLorMML.js") + "'></script>\n";
result += "<link rel='stylesheet' href='" + server->prefixUrl("/resources/css/prism.css") + "'>\n";
result += "<link rel='stylesheet' href='" + server->prefixUrl("/resources/css/doc.css") + "'>\n";
result += "<script src='" + server->prefixUrl("/resources/js/jquery-1.11.2.min.js") + "'></script>\n";
Expand Down

0 comments on commit d56e651

Please sign in to comment.