From 6fbb41fb7678db406a33a9fda1d7304a5c4dfe3e Mon Sep 17 00:00:00 2001 From: samfreund Date: Fri, 9 May 2025 13:06:42 -0500 Subject: [PATCH] this should fix importing? --- photon-lib/py/docs/source/conf.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/photon-lib/py/docs/source/conf.py b/photon-lib/py/docs/source/conf.py index 6b3b95e58..3ae447750 100644 --- a/photon-lib/py/docs/source/conf.py +++ b/photon-lib/py/docs/source/conf.py @@ -1,3 +1,9 @@ +import os +import sys + +# This adds the 'py/' directory to the Python path +sys.path.insert(0, os.path.abspath(os.path.join(os.path.dirname(__file__), '..', '..'))) + # Configuration file for the Sphinx documentation builder. # # For the full list of built-in configuration values, see the documentation: