From e3867dcea47873050b6b087af32e66b2382c95b6 Mon Sep 17 00:00:00 2001 From: Darragh Bailey Date: Fri, 11 Nov 2016 12:54:58 +0000 Subject: [PATCH] Fix read-the-docs doc building Read-the-docs requires the application module to be available via the PYTHONPATH to build correctly as it does not install a virtualenv and configuring it to do so results in it failing to find the custom readthedocs sphinx builder. Change-Id: Ic4a650fdbc8db1c8aeb7027121b3e0340d39b686 --- doc/source/conf.py | 1 + 1 file changed, 1 insertion(+) diff --git a/doc/source/conf.py b/doc/source/conf.py index 93ad4bc..24b9874 100644 --- a/doc/source/conf.py +++ b/doc/source/conf.py @@ -19,6 +19,7 @@ import sys, os #sys.path.insert(0, os.path.abspath('.')) sys.path.insert(0, os.path.abspath('.')) +sys.path.insert(0, os.path.abspath('../../')) # for git_upstream import sys.path.insert(0, os.path.abspath('../../git_upstream')) # for indices # -- General configuration -----------------------------------------------------