mirror of
https://github.com/scrapy/scrapy.git
synced 2025-02-24 20:04:09 +00:00
Make Sphinx autodoc use local, not system-wide Scrapy
This commit is contained in:
parent
47b1b748c2
commit
d438075a47
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user