Skip to content

Commit

Permalink
Still working on #530 ...
Browse files Browse the repository at this point in the history
  • Loading branch information
ngehlenborg committed Jun 22, 2015
1 parent acc2dfa commit 34b035a
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,11 @@
# added these lines to avoid ImportError
# see: http://stackoverflow.com/questions/9612296/importerror-in-django-in-sphinx-python
parent_directory = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))
sys.path.append(os.path.join( parent_directory, "refinery" ) )
#sys.path.append(os.path.join( parent_directory, "refinery" ) )
# https://github.com/rtfd/readthedocs.org/issues/104
sys.path.insert(0, os.path.join( parent_directory, "refinery" ) )



import settings
from django.core.management import setup_environ
Expand Down

0 comments on commit 34b035a

Please sign in to comment.