From: Thanh Ha Date: Thu, 25 Jan 2018 01:13:36 +0000 (-0500) Subject: Add sys path for rtd X-Git-Tag: v0.2.1~26 X-Git-Url: https://gerrit.linuxfoundation.org/infra/gitweb?a=commitdiff_plain;h=63b2507c50b718446a3a02c5854336a07e583140;p=releng%2Fdocs-conf.git Add sys path for rtd Change-Id: I820fc0e5d183088a1128ab84f2d11fd3b32a0268 Signed-off-by: Thanh Ha --- 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 *