From 50145e668d8017df9bc1726a5f82c1b5f850ab43 Mon Sep 17 00:00:00 2001 From: SangBin Cho Date: Fri, 28 Feb 2020 14:03:08 -0800 Subject: [PATCH] Fix the problem that ray.remote reference is not visible at a document. (#7311) --- doc/source/conf.py | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/doc/source/conf.py b/doc/source/conf.py index b2aa30faf..964471ebc 100644 --- a/doc/source/conf.py +++ b/doc/source/conf.py @@ -65,17 +65,6 @@ sys.path.insert(0, os.path.abspath("../../python/")) import ray - -# Avoid @ray.remote run when doc generating -def fake_remote(*args, **kwargs): - def _inner_wrapper(cls_or_func): - return cls_or_func - - return _inner_wrapper - - -ray.remote = fake_remote - # -- General configuration ------------------------------------------------ # If your documentation needs a minimal Sphinx version, state it here.