summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorTom Rini <[email protected]>2026-03-09 11:27:35 -0600
committerTom Rini <[email protected]>2026-03-09 11:27:35 -0600
commit9a6dd68323cf425d7056f1de367bbfbb19cec407 (patch)
treeab76ed813ac5100396389a944da592dcbfd4d316 /doc
parent2092322b31cc8b1f8c9e2e238d1043ae0637b241 (diff)
doc: Use sys.path.append for pytests
Signed-off-by: Tom Rini <[email protected]>
Diffstat (limited to 'doc')
-rw-r--r--doc/conf.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/doc/conf.py b/doc/conf.py
index 84d028feda8..bf60fe14315 100644
--- a/doc/conf.py
+++ b/doc/conf.py
@@ -34,6 +34,8 @@ if os.environ.get("READTHEDOCS", "") == "True":
# 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.
sys.path.insert(0, os.path.abspath('sphinx'))
+sys.path.append(os.path.abspath('../test/py/tests'))
+sys.path.append(os.path.abspath('../test/py'))
from load_config import loadConfig
# -- General configuration ------------------------------------------------