Skip to content

Commit 7440098

Browse files
committed
fix rtd doc generate issue
- HPM_SDK_BASE needs to be set for doxygen Signed-off-by: Ryan QIAN <[email protected]>
1 parent 637c4be commit 7440098

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

docs/en/conf.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121

2222
sys.path.insert(0, str(HPM_SDK_BASE / "docs" / "_ext"))
2323

24-
24+
os.environ["HPM_SDK_BASE"] = str(HPM_SDK_BASE)
2525
project = 'HPMicro Software Development Kit'
2626
copyright = '2020-2023, HPMicro'
2727
author = 'HPMicro Software Team'

docs/zh/conf.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@
2121

2222
sys.path.insert(0, str(HPM_SDK_BASE / "docs" / "_ext"))
2323

24+
os.environ["HPM_SDK_BASE"] = str(HPM_SDK_BASE)
2425
project = 'HPMico Software Development Kit'
2526
copyright = '2020-2023, HPMicro'
2627
author = '先楫半导体软件组'

0 commit comments

Comments
 (0)