diff --git a/docs/conf.py b/docs/conf.py
index <HASH>..<HASH> 100644
--- a/docs/conf.py
+++ b/docs/conf.py
@@ -1,4 +1,5 @@
 import sys
+import warnings
 from pathlib import Path
 from datetime import datetime
 
@@ -9,6 +10,9 @@ matplotlib.use('agg')
 HERE = Path(__file__).parent
 sys.path.insert(0, str(HERE.parent))
 import scanpy  # noqa
+with warnings.catch_warnings():
+    warnings.filterwarnings('ignore', category=FutureWarning)
+    import scanpy.api
 
 
 # -- General configuration ------------------------------------------------
Suppress FutureWarning when building docs