Skip to content

Commit

Permalink
conf
Browse files Browse the repository at this point in the history
  • Loading branch information
Tomas Stolker committed Mar 14, 2019
1 parent a95b209 commit ce819ec
Showing 1 changed file with 1 addition and 17 deletions.
18 changes: 1 addition & 17 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,23 +15,7 @@
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.append(os.path.join(os.path.abspath(os.pardir)))
# autodoc_mock_imports = ['species']

# Get the project root dir, which is the parent dir of this
cwd = os.getcwd()
project_root = os.path.dirname(cwd)

# Insert the project root dir as the first element in the PYTHONPATH.
# This lets us ensure that the source package is imported, and that its
# version is used.
sys.path.insert(0, project_root)

import species
sys.path.insert(0, os.path.abspath('../species/'))

# -- Project information -----------------------------------------------------

Expand Down

0 comments on commit ce819ec

Please sign in to comment.