another fix for rtd
authorMoritz Kiefer <moritz.kiefer@gmail.com>
Tue, 15 Jan 2013 17:11:39 +0000 (18:11 +0100)
committerMoritz Kiefer <moritz.kiefer@gmail.com>
Tue, 15 Jan 2013 17:11:39 +0000 (18:11 +0100)
docs/source/conf.py

index a8e57d7803f3e8169ea1d57b7ae433b2de1c96db..7f0328783d3c3bd2a3987992058f6880450315f8 100644 (file)
@@ -18,7 +18,7 @@ import sys, os
 # add these directories to sys.path here. If the directory is relative to the
 # documentation root, use os.path.abspath to make it absolute, like shown here.
 #sys.path.insert(0, os.path.abspath('.'))
-sys.path.insert(0, os.path.abspath(__file__))
+sys.path.insert(0, os.path.join((os.getcwd(), os.pardir())))
 
 # -- General configuration -----------------------------------------------------