diff --git a/doc/source/conf.py b/doc/source/conf.py
index 70368f6c71f6cd1481e72f5896460134d5310d02..f4fc428e8ba0da9294bfbcbe0f11bbce733c6b1b 100644
--- a/doc/source/conf.py
+++ b/doc/source/conf.py
@@ -31,7 +31,7 @@ release = teqp.__version__
 subprocess.check_output(f'jupyter nbconvert --version', shell=True)
 for path, dirs, files in os.walk('.'):
     for file in files:
-        if file.endswith('.ipynb'):
+        if file.endswith('.ipynb') and '.ipynb_checkpoints' not in path:
             subprocess.check_output(f'jupyter nbconvert --ExecutePreprocessor.allow_errors=True --to notebook --output {file} --execute {file}', shell=True, cwd=path)
 
 # -- General configuration ---------------------------------------------------