From da98f24711a2faab17f94e5b2a636e6609c93fa6 Mon Sep 17 00:00:00 2001 From: Nikita Titov Date: Mon, 1 Nov 2021 04:28:44 +0300 Subject: [PATCH] [docs ][python] add `datatable` to the mocked modules during docs building process and sort them alphabetically (#4750) --- docs/conf.py | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/docs/conf.py b/docs/conf.py index f52ac278cc8f..c24143665909 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -41,8 +41,18 @@ INTERNAL_REF_REGEX = compile(r"(?P\.\/.+)(?P\.rst)(?P$|#)") # -- 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()