mirror of
https://github.com/scrapy/scrapy.git
synced 2025-02-24 15:43:48 +00:00
Merge pull request #1335 from jdemaeyer/fix/docs-scrapy-path
Make Sphinx autodoc use local, not system-wide Scrapy
This commit is contained in:
commit
b6eb3404a2
@ -18,7 +18,7 @@ from os import path
|
|||||||
# is relative to the documentation root, use os.path.abspath to make it
|
# is relative to the documentation root, use os.path.abspath to make it
|
||||||
# absolute, like shown here.
|
# absolute, like shown here.
|
||||||
sys.path.append(path.join(path.dirname(__file__), "_ext"))
|
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
|
# General configuration
|
||||||
|
Loading…
x
Reference in New Issue
Block a user