diff --git a/doc/source/conf.py b/doc/source/conf.py
index 34e207517f..6b471948bd 100644
--- a/doc/source/conf.py
+++ b/doc/source/conf.py
@@ -30,7 +30,7 @@ sys.path.insert(0, os.path.abspath('.'))
 # extensions coming with Sphinx (named 'sphinx.ext.*') or your custom ones.
 extensions = [
     'custom_roles',
-    'oslo.sphinx',
+    'oslosphinx',
 ]
 
 # Add any paths that contain templates here, relative to this directory.
diff --git a/test-requirements.txt b/test-requirements.txt
index afe5050d7d..3e36c602a9 100644
--- a/test-requirements.txt
+++ b/test-requirements.txt
@@ -1,4 +1,4 @@
 hacking>=0.5.6,<0.8
 sphinx>=1.1.2,<1.2
 docutils==0.9.1
-oslo.sphinx
+oslosphinx