diff --git a/docs/en/conf.py b/docs/en/conf.py index 796fa42fc..26c77274e 100644 --- a/docs/en/conf.py +++ b/docs/en/conf.py @@ -21,7 +21,7 @@ sys.path.insert(0, str(HPM_SDK_BASE / "docs" / "_ext")) - +os.environ["HPM_SDK_BASE"] = str(HPM_SDK_BASE) project = 'HPMicro Software Development Kit' copyright = '2020-2023, HPMicro' author = 'HPMicro Software Team' diff --git a/docs/zh/conf.py b/docs/zh/conf.py index 973852c07..081b911a7 100644 --- a/docs/zh/conf.py +++ b/docs/zh/conf.py @@ -21,6 +21,7 @@ sys.path.insert(0, str(HPM_SDK_BASE / "docs" / "_ext")) +os.environ["HPM_SDK_BASE"] = str(HPM_SDK_BASE) project = 'HPMico Software Development Kit' copyright = '2020-2023, HPMicro' author = '先楫半导体软件组'