diff --git a/doc/source/conf.py b/doc/source/conf.py index 9c28b3f331..b7f4a7d34e 100644 --- a/doc/source/conf.py +++ b/doc/source/conf.py @@ -67,13 +67,6 @@ add_module_names = True # The name of the Pygments (syntax highlighting) style to use. pygments_style = 'sphinx' -# NOTE(cinerama): mock out nova modules so docs can build without warnings -import mock -import sys -MOCK_MODULES = ['nova', 'nova.compute', 'nova.context'] -for module in MOCK_MODULES: - sys.modules[module] = mock.Mock() - # A list of glob-style patterns that should be excluded when looking for # source files. They are matched against the source file names relative to the # source directory, using slashes as directory separators on all platforms.