Skip to content

Commit

Permalink
Add tracpro to path before building docs
Browse files Browse the repository at this point in the history
So that we can import the version.
  • Loading branch information
Rebecca committed Nov 18, 2015
1 parent d4016ac commit 0076469
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion docs/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,15 @@
# All configuration values have a default; values that are commented out
# serve to show the default.

import os
import sys

# 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.
# sys.path.insert(0, os.path.abspath('.'))
project_root = os.path.abspath(os.path.join(
os.path.dirname(__file__), os.pardir, os.pardir))
sys.path.insert(0, project_root)

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

Expand Down

0 comments on commit 0076469

Please sign in to comment.