Further tweak for quick build

This commit is contained in:
Griatch 2020-09-19 18:19:36 +02:00
parent 6d8b882e0c
commit d40fe5f2c9
2 changed files with 6 additions and 7 deletions

View file

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