Skip to content
Snippets Groups Projects
Commit 3c7adf4a authored by David Dorchies's avatar David Dorchies
Browse files

#34 Add mkdocs compilation in npm run preprocess. Remove MathJax references from index.html

parent 6d6c8871
No related branches found
No related tags found
2 merge requests!27Master,!26Resolve "Documentation utilisateur dans les interfaces"
......@@ -13,7 +13,7 @@
"jalhyd": "rm -rf node_modules/jalhyd; cd ../jalhyd; npm run package; cd ../nghyd; npm install ../jalhyd/jalhyd-1.0.0.tgz;",
"mathjax": "rsync -az --delete node_modules/mathjax src/assets;",
"mkdocs": "python3 -m mkdocs build",
"preprocess": "node preprocessors.js; npm run mathjax;"
"preprocess": "node preprocessors.js; npm run mathjax; npm run mkdocs;"
},
"private": true,
"dependencies": {
......
......@@ -31,21 +31,6 @@
}
</style>
-->
<!-- MathJax-->
<!-- config locale qui s'ajoute à la config par défaut (ajoute les expressions LateX inline avec $....$) -->
<script type="text/x-mathjax-config">
MathJax.Hub.Config({
tex2jax: {
inlineMath: [['$','$'], ['\\(','\\)']],
skipTags: ['script', 'noscript', 'style', 'textarea', 'pre']
}
});
</script>
<!-- récupération du code + configuration par défaut -->
<script type="text/javascript" src="assets/mathjax/MathJax.js?config=TeX-AMS_CHTML"></script>
<!-- /MathJax-->
</head>
<body>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment