summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorRamiro Morales <cramm0@gmail.com>2012-11-25 11:58:06 -0300
committerRamiro Morales <cramm0@gmail.com>2012-11-25 11:58:06 -0300
commitf3a0ecc9ee0eae09d2c779a74b32cce7e38c1773 (patch)
treef0f07eb9a01621c2c1408d33bde97a3c77493072 /docs
parent612357f8ef729689cf52101add8c90d0528a7421 (diff)
Changed (again) technique to get version IDs shown in docs from source code.
Hopefully it will fix the problem with the documentation building server that caused a wrong Django version to be reported in the HTML zipball docs edition. Follow-up to commits 373df56 and 0b98ef6.
Diffstat (limited to 'docs')
-rw-r--r--docs/conf.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/conf.py b/docs/conf.py
index 939d70b7b4..0cfaab3033 100644
--- a/docs/conf.py
+++ b/docs/conf.py
@@ -16,8 +16,8 @@ from __future__ import unicode_literals
import sys
from os.path import abspath, dirname, join
-# Make sure we use this copy of Django
-sys.path.insert(1, abspath(dirname(dirname(__file__))))
+# Make sure we iget the version of this copy of Django
+sys.path.insert(1, dirname(dirname(abspath(__file__))))
# 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