Skip to content

Commit

Permalink
Trying to fix some issues with the ReadTheDocs site #2
Browse files Browse the repository at this point in the history
  • Loading branch information
Podshot committed Sep 30, 2018
1 parent 4d1b840 commit 6332bbe
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions docs_source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,11 @@
import os
import sys

sys.path.insert(0, os.path.abspath("."))
sys.path.insert(0, os.path.abspath(os.path.join("..", "src")))
on_rtd = os.environ.get("READTHEDOCS") == 'True'

if not on_rtd:
sys.path.insert(0, os.path.abspath("."))
sys.path.insert(0, os.path.abspath(os.path.join("..", "src")))


# -- Project information -----------------------------------------------------
Expand Down

0 comments on commit 6332bbe

Please sign in to comment.