update to conf.py to resovle import errors
This commit is contained in:
@@ -13,6 +13,8 @@ sys.path.insert(0, os.path.abspath('..'))
|
||||
sys.path.insert(0, os.path.abspath('../src')) # <-- ensure 'src' is on path
|
||||
sys.path.insert(0, os.path.abspath('../src/aaredaq'))
|
||||
sys.path.insert(0, os.path.abspath('../src/mxlibs3'))
|
||||
sys.path.insert(0, os.path.abspath('../../common/src'))
|
||||
sys.path.insert(0, os.path.abspath('../../common/src/aaredaqlib'))
|
||||
|
||||
project = 'AareDAQ'
|
||||
copyright = '2025, Paul Scherrer Institute'
|
||||
@@ -24,6 +26,12 @@ root_doc = 'index'
|
||||
# https://www.sphinx-doc.org/en/master/usage/configuration.html#general-configuration
|
||||
|
||||
autodoc_mock_imports = [
|
||||
'cv2',
|
||||
'redis',
|
||||
'jfjoch_client',
|
||||
'epics',
|
||||
'sseclient',
|
||||
'jwt',
|
||||
'aaredb',
|
||||
'aareDBclient',
|
||||
'numpy',
|
||||
|
||||
Reference in New Issue
Block a user