Make Sphinx autodoc use local, not system-wide Scrapy

This commit is contained in:
Jakob de Maeyer 2015-07-03 16:51:53 +02:00
parent 47b1b748c2
commit d438075a47
1 changed files with 1 additions and 0 deletions

View File

@ -19,6 +19,7 @@ from os import path
# absolute, like shown here.
sys.path.append(path.join(path.dirname(__file__), "_ext"))
sys.path.append(path.join(path.dirname(path.dirname(__file__)), "scrapy"))
sys.path.insert(0, path.dirname(path.dirname(__file__)))
# General configuration