Remove nova mocks from documentation configuration
All nova related stuff was removed from tree, so no need to mock the nova modules. Change-Id: Ib8a413785401c387dd7a8e4d686d8b5316d43770
This commit is contained in:
parent
8aec5fb6a5
commit
1ff76227ed
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user