Skip to content

Commit da98f24

Browse files
authored
[docs ][python] add datatable to the mocked modules during docs building process and sort them alphabetically (#4750)
1 parent 08ccd4a commit da98f24

File tree

1 file changed

+12
-2
lines changed

1 file changed

+12
-2
lines changed

Diff for: docs/conf.py

+12-2
Original file line numberDiff line numberDiff line change
@@ -41,8 +41,18 @@
4141
INTERNAL_REF_REGEX = compile(r"(?P<url>\.\/.+)(?P<extension>\.rst)(?P<anchor>$|#)")
4242

4343
# -- mock out modules
44-
MOCK_MODULES = ['numpy', 'scipy', 'scipy.sparse',
45-
'sklearn', 'matplotlib', 'pandas', 'graphviz', 'dask', 'dask.distributed']
44+
MOCK_MODULES = [
45+
'dask',
46+
'dask.distributed',
47+
'datatable',
48+
'graphviz',
49+
'matplotlib',
50+
'numpy',
51+
'pandas',
52+
'scipy',
53+
'scipy.sparse',
54+
'sklearn'
55+
]
4656
for mod_name in MOCK_MODULES:
4757
sys.modules[mod_name] = Mock()
4858

0 commit comments

Comments
 (0)