Merge "Remove nova mocks from documentation configuration"
This commit is contained in:
commit
1ef11f9fee
@ -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