diff --git a/package.json b/package.json
index 21928745a15d1430bbb5f04d1bd1a06530a301a1..27c899b8cbc62414165e839d3c2ea9a57f08c3d6 100644
--- a/package.json
+++ b/package.json
@@ -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": {
diff --git a/src/index.html b/src/index.html
index 5d093f8fc0c9b0326c0eea3201dbd948b6d1e8bc..3f118aead63915bdeb163647acea383a103f96a6 100644
--- a/src/index.html
+++ b/src/index.html
@@ -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>