diff options
-rw-r--r-- | docs/conf.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/docs/conf.py b/docs/conf.py index 7f781fef..28f86da4 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -23,7 +23,9 @@ # can invoke setup.py import subprocess import sys -subprocess.check_call([sys.executable, 'bootstrap.py'], cwd='..') +import os +proj_root = os.path.join(os.path.dirname(__file__), os.path.pardir) +subprocess.check_call([sys.executable, 'bootstrap.py'], cwd=proj_root) # -- General configuration ----------------------------------------------------- |