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: