Skip to content
This repository has been archived by the owner on Sep 19, 2019. It is now read-only.

Commit

Permalink
Adds path adjustment so that doctests can run from any directory
Browse files Browse the repository at this point in the history
  • Loading branch information
kumar303 committed Mar 6, 2011
1 parent 1c07761 commit 0cd4501
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,9 @@
# documentation root, use os.path.abspath to make it absolute, like shown here.
#sys.path.insert(0, os.path.abspath('.'))

# ensures that somemodule can be imported
sys.path.append(os.path.dirname(__file__))

# -- General configuration -----------------------------------------------------

# If your documentation needs a minimal Sphinx version, state it here.
Expand Down

0 comments on commit 0cd4501

Please sign in to comment.