Unverified Commit da98f247 authored by Nikita Titov's avatar Nikita Titov Committed by GitHub
Browse files

[docs ][python] add `datatable` to the mocked modules during docs building...

[docs ][python] add `datatable` to the mocked modules during docs building process and sort them alphabetically (#4750)
parent 08ccd4a3
......@@ -41,8 +41,18 @@ sys.path.insert(0, str(LIB_PATH))
INTERNAL_REF_REGEX = compile(r"(?P<url>\.\/.+)(?P<extension>\.rst)(?P<anchor>$|#)")
# -- mock out modules
MOCK_MODULES = ['numpy', 'scipy', 'scipy.sparse',
'sklearn', 'matplotlib', 'pandas', 'graphviz', 'dask', 'dask.distributed']
MOCK_MODULES = [
'dask',
'dask.distributed',
'datatable',
'graphviz',
'matplotlib',
'numpy',
'pandas',
'scipy',
'scipy.sparse',
'sklearn'
]
for mod_name in MOCK_MODULES:
sys.modules[mod_name] = Mock()
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment