1. EligeMejor
  2. Untitled project
  3. django-split-testing

Commits

German Larrain  committed 7ad9316

docs.conf: added main package to the system path (otherwise Sphinx can't find it).

  • Participants
  • Parent commits 22107e2
  • Branches default

Comments (0)

Files changed (1)

File docs/source/conf.py

View file
  • Ignore whitespace
 # documentation root, use os.path.abspath to make it absolute, like shown here.
 #sys.path.insert(0, os.path.abspath('.'))
 
+DOCS_DIR = os.path.abspath(os.path.dirname(__file__))
+sys.path.insert(0, os.path.join(DOCS_DIR, os.pardir, os.pardir))
+
 # -- General configuration -----------------------------------------------------
 
 # If your documentation needs a minimal Sphinx version, state it here.