From 63b2507c50b718446a3a02c5854336a07e583140 Mon Sep 17 00:00:00 2001 From: Thanh Ha Date: Wed, 24 Jan 2018 20:13:36 -0500 Subject: [PATCH] Add sys path for rtd Change-Id: I820fc0e5d183088a1128ab84f2d11fd3b32a0268 Signed-off-by: Thanh Ha --- docs/conf.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/docs/conf.py b/docs/conf.py index 6d3ce39..cc5b98c 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -10,7 +10,11 @@ # http://www.eclipse.org/legal/epl-v10.html ############################################################################## +import os import pkg_resources +import sys +# Sys.path for RTD to resolve docs_conf package +sys.path.insert(0, os.path.abspath('..')) from docs_conf import * -- 2.16.6