Skip to content

Commit

Permalink
Merge pull request #209 from ThomasWaldmann/fix-sphinx-conf2
Browse files Browse the repository at this point in the history
sphinx conf.py: use the installed package
  • Loading branch information
ThomasWaldmann committed Jul 2, 2019
2 parents e596462 + 5887c9e commit be46247
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions docs/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,8 @@
# 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.
import os
import sys
this_dir = os.path.dirname(os.path.abspath(__file__))
sys.path.insert(0, os.path.abspath(os.path.join(this_dir, '..', '..', 'src')))

# on rtfd, the project gets installed via pip and scm_version generates _version:
from bepasty._version import version

# General information about the project.
Expand Down

0 comments on commit be46247

Please sign in to comment.