diff --git a/docs/conf.py b/docs/conf.py
index <HASH>..<HASH> 100644
--- a/docs/conf.py
+++ b/docs/conf.py
@@ -33,7 +33,7 @@ extensions = [
     'sphinx.ext.intersphinx',
     'sphinx.ext.viewcode',
     'sphinxcontrib.napoleon',
-    'sphinxcontrib.aafig',
+    'sphinx.ext.aafig',
 ]
 
 # Add any paths that contain templates here, relative to this directory.
switch from sphinxcontrib to sphinx.ext