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.