docs: Add local paths to the start and not end of PYTHONPATH
This commit is contained in:
parent
094444eae8
commit
545ad9486c
@ -16,8 +16,8 @@ import sys, os
|
|||||||
# If extensions (or modules to document with autodoc) are in another directory,
|
# If extensions (or modules to document with autodoc) are in another directory,
|
||||||
# add these directories to sys.path here. If the directory is relative to the
|
# add these directories to sys.path here. If the directory is relative to the
|
||||||
# documentation root, use os.path.abspath to make it absolute, like shown here.
|
# documentation root, use os.path.abspath to make it absolute, like shown here.
|
||||||
sys.path.append(os.path.abspath(os.path.dirname(__file__)))
|
sys.path.insert(0, os.path.abspath(os.path.dirname(__file__)))
|
||||||
sys.path.append(os.path.abspath(os.path.dirname(__file__) + '/../'))
|
sys.path.insert(0, os.path.abspath(os.path.dirname(__file__) + '/../'))
|
||||||
|
|
||||||
import mopidy
|
import mopidy
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user