1
0
mirror of https://github.com/scrapy/scrapy.git synced 2025-02-24 15:23:44 +00:00

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

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