Skip to content

Commit

Permalink
Ensure that version detection in docs from 373df56 uses the right Dja…
Browse files Browse the repository at this point in the history
…ngo copy.
  • Loading branch information
ramiro committed Oct 28, 2012
1 parent b4420d9 commit 0b98ef6
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions docs/conf.py
Expand Up @@ -14,12 +14,15 @@
from __future__ import unicode_literals from __future__ import unicode_literals


import sys import sys
import os from os.path import abspath, dirname, join

# Make sure we use this copy of Django
sys.path.insert(1, abspath(dirname(dirname(__file__))))


# If extensions (or modules to document with autodoc) are in another directory, # 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 # 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. # documentation root, use os.path.abspath to make it absolute, like shown here.
sys.path.append(os.path.abspath(os.path.join(os.path.dirname(__file__), "_ext"))) sys.path.append(abspath(join(dirname(__file__), "_ext")))


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


Expand Down

0 comments on commit 0b98ef6

Please sign in to comment.