From 110a09ec65bcb34e650104dc0cd4dfc4453b600a Mon Sep 17 00:00:00 2001 From: PGijsbers Date: Tue, 17 Sep 2019 15:55:54 +0200 Subject: [PATCH] :pencil: Update doc/conf. --- docs/source/api/utilities.inc | 11 ++++++----- docs/source/conf.py | 3 ++- 2 files changed, 8 insertions(+), 6 deletions(-) diff --git a/docs/source/api/utilities.inc b/docs/source/api/utilities.inc index e8ef48e7..e8d56471 100644 --- a/docs/source/api/utilities.inc +++ b/docs/source/api/utilities.inc @@ -21,11 +21,12 @@ Timekeeper .. autoclass:: gama.utilities.generic.timekeeper.TimeKeeper -AsyncExecutor -~~~~~~~~~~~~~ +AsyncEvaluator +~~~~~~~~~~~~~~ .. warning:: - This component in particular has its own issues and will be replaced. - But I have yet to find a satisfying alternative to 'hacking' the built-in ProcessPoolExecutor. + I'm sure there are better tools out there, but I have yet to find a minimal easy multi-processing tool. + I tried using the built-in ProcessPoolExecutor, but it had short comings such as not being able to cancel + jobs while they were running. -.. autoclass:: gama.utilities.generic.async_executor.AsyncExecutor +.. autoclass:: gama.utilities.generic.async_evaluator.AsyncEvaluator diff --git a/docs/source/conf.py b/docs/source/conf.py index 268524aa..270f5e99 100644 --- a/docs/source/conf.py +++ b/docs/source/conf.py @@ -19,7 +19,8 @@ # -- Adding the module to document ---------------------------------------- import os import sys -sys.path.append(os.path.abspath('../gama')) + +sys.path.insert(0, os.path.abspath('../..')) # -- Copying Example files over ------------------------------------------- import shutil