[doc] readthedocs strangeness

This commit is contained in:
Max Zwiessele 2016-04-08 07:58:16 +01:00
parent b6f4072717
commit e54b94485a
4 changed files with 16 additions and 12 deletions

View file

@ -21,7 +21,7 @@ import shlex
# documentation root, use os.path.abspath to make it absolute, like shown here.
#for p in os.walk('../../GPy'):
# sys.path.append(p[0])
sys.path.insert(0, os.path.abspath('../../'))
#sys.path.insert(0, os.path.abspath('../../'))
sys.path.insert(0, os.path.abspath('../../GPy/'))
on_rtd = os.environ.get('READTHEDOCS', None) == 'True'