From a220d4805a57027a728ad6c8d126d39ec9abc65d Mon Sep 17 00:00:00 2001 From: Darko Poljak Date: Sun, 26 Jun 2016 16:28:10 +0200 Subject: [PATCH] Add cdist dir to sys.path for sphinx ext and cdist modules. --- docs/man/conf.py | 1 + 1 file changed, 1 insertion(+) diff --git a/docs/man/conf.py b/docs/man/conf.py index d8843011..ed43d6d4 100644 --- a/docs/man/conf.py +++ b/docs/man/conf.py @@ -20,6 +20,7 @@ import os # add these directories to sys.path here. If the directory is relative to the # documentation root, use os.path.abspath to make it absolute, like shown here. #sys.path.insert(0, os.path.abspath('.')) +sys.path.insert(0, os.path.abspath(os.path.join(os.path.dirname(os.path.realpath(__file__)), "../../"))) # -- General configuration ------------------------------------------------