Add sys path for rtd 17/8517/2
authorThanh Ha <thanh.ha@linuxfoundation.org>
Thu, 25 Jan 2018 01:13:36 +0000 (20:13 -0500)
committerThanh Ha <thanh.ha@linuxfoundation.org>
Thu, 25 Jan 2018 01:14:49 +0000 (20:14 -0500)
Change-Id: I820fc0e5d183088a1128ab84f2d11fd3b32a0268
Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
docs/conf.py

index 6d3ce39..cc5b98c 100644 (file)
 # 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 *