Extend dirname for insert in path

This commit is contained in:
Griatch 2020-09-19 18:13:57 +02:00
parent 523c0757e0
commit 6d8b882e0c

View file

@ -315,7 +315,7 @@ def setup(app):
app.add_transform(AutoStructify)
# build toctree file
sys.path.insert(1, os.path.join(os.path.dirname(os.path.dirname(__file__)), "docs"))
sys.path.insert(1, os.path.dirname(os.path.dirname(__file__)))
print("sys.path:", sys.path)
from docs.pylib import auto_link_remapper