diff --git a/doc/environment.yml b/doc/environment.yml
index 88724d33ab056ce28df9c559a7918c6d63d61ca5..736c97ea51c13ed430868b6b46710172d5010c0f 100644
--- a/doc/environment.yml
+++ b/doc/environment.yml
@@ -7,6 +7,7 @@ dependencies:
   - pip
   - doxygen
   - cmake
+  - pandoc
   - pip:
     - breathe
     - teqp
@@ -19,4 +20,5 @@ dependencies:
     - pandas
     - matplotlib
     - PCSAFTsuperanc
-    - sphinxcontrib-doxylink
\ No newline at end of file
+    - sphinxcontrib-doxylink
+    - insipid-sphinx-theme
\ No newline at end of file
diff --git a/doc/source/conf.py b/doc/source/conf.py
index a8e343ac7b41bc73b0e9a882acbb6efa00cfc29f..f78ab5045173e25393e3286b9571683679838431 100644
--- a/doc/source/conf.py
+++ b/doc/source/conf.py
@@ -4,7 +4,7 @@
 # list see the documentation:
 # https://www.sphinx-doc.org/en/master/usage/configuration.html
 
-import os, subprocess
+import os, subprocess, shutil
 on_rtd = os.environ.get('READTHEDOCS') == 'True'
 
 # -- Path setup --------------------------------------------------------------
@@ -31,9 +31,10 @@ release = teqp.__version__
 
 # -- Execute all notebooks --------------------------------------------------
 
-# Run doxygen
-if not os.path.exists(here+'/_static/'):
-    os.makedirs(here+'/_static')
+# Run doxygen (always)
+if os.path.exists(here+'/_static/'):
+    shutil.rmtree(here+'/_static/')
+os.makedirs(here+'/_static')
 subprocess.check_call('doxygen Doxyfile', cwd=here+'/../..', shell=True)
 
 if on_rtd: