diff --git a/docs/source/conf.py b/docs/source/conf.py index 8b3049040c..73d163daf9 100644 --- a/docs/source/conf.py +++ b/docs/source/conf.py @@ -176,7 +176,7 @@ ansi_clean = None if not _no_autodoc: # we must set up Evennia and its paths for autodocs to work - EV_ROOT = os.path.dirpath(os.path.dirpath(os.path.dirpath(os.path.abspath(__file__)))) # os.environ.get("EVDIR") + EV_ROOT = os.path.dirname(os.path.dirname(os.path.dirname(os.path.abspath(__file__)))) # os.environ.get("EVDIR") GAME_DIR = os.environ.get("EVGAMEDIR") if not (EV_ROOT and GAME_DIR):