diff --git a/.gitignore b/.gitignore
index da97bd6308e3fe8b1295acf2609a1a919d932524..fb139902b585fdc641cdc3e73a48b0c543876719 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,3 +1,4 @@
 .merlin
 _build/
 docker/Dockerfile
+doc/ext/__pycache__/