Remove django.utils dependency

And fix path issues.
This commit is contained in:
Julian Arni
2013-08-01 19:40:09 -04:00
parent 78ca8fb7be
commit 2bb7372a6b
6 changed files with 152 additions and 16 deletions

View File

@@ -5,17 +5,18 @@ import sys, os
on_rtd = os.environ.get('READTHEDOCS', None) == 'True'
if on_rtd: # Add to syspath so RTD will find the common conf file
sys.path.append('../../../')
sys.path.append(os.path.abspath('../../../'))
sys.path.append(os.path.abspath('../../'))
from docs.shared.conf import *
sys.path.insert(0, os.path.abspath('.'))
master_doc = 'index'
# Add any paths that contain templates here, relative to this directory.
templates_path.append('source/_templates')
sys.path.insert(0, os.path.abspath('.'))
# Add any paths that contain custom static files (such as style sheets) here,
# relative to this directory. They are copied after the builtin static files,
# so a file named "default.css" will overwrite the builtin "default.css".