Skip to content

Commit

Permalink
test rtd fix
Browse files Browse the repository at this point in the history
  • Loading branch information
damonge committed Jul 10, 2018
1 parent 3f5742a commit 0ad5d80
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,12 @@
import os
from os.path import abspath, dirname, join as pjoin
import sys
this_dir = dirname(abspath(__file__))
root_path = abspath(pjoin(this_dir, '../'))
if os.path.isdir(root_path):
sys.path.insert(0, root_path)
sys.path.insert(0,os.path.abspath('../'))
sys.path.append(os.path.abspath('../pyccl/')
#this_dir = dirname(abspath(__file__))
#root_path = abspath(pjoin(this_dir, '../'))
#if os.path.isdir(root_path):
# sys.path.insert(0, root_path)

on_rtd = os.environ.get('READTHEDOCS', None) == 'True'
if on_rtd:
Expand Down

0 comments on commit 0ad5d80

Please sign in to comment.