Skip to content

Commit

Permalink
Add APP_DIR to docs conf.py
Browse files Browse the repository at this point in the history
  • Loading branch information
koverholt committed Nov 15, 2016
1 parent e81e193 commit f5de892
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions docs/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,9 @@
import sys
import os

APP_DIR = os.path.normpath(os.path.join(os.getcwd(), '../..'))
sys.path.insert(0, APP_DIR)

# If extensions (or modules to document with autodoc) are in another directory,
# add these directories to sys.path here. If the directory is relative to the
# documentation root, use os.path.abspath to make it absolute, like shown here.
Expand Down

0 comments on commit f5de892

Please sign in to comment.