doc: fix defines dict expansion
This commit is contained in:
parent
0fee085b67
commit
17b90afcab
1 changed files with 1 additions and 1 deletions
|
@ -71,7 +71,7 @@ def generate_doxygen(app, project_description):
|
||||||
print("Calling Doxygen to generate latest XML files")
|
print("Calling Doxygen to generate latest XML files")
|
||||||
doxy_env = os.environ
|
doxy_env = os.environ
|
||||||
doxy_env.update({
|
doxy_env.update({
|
||||||
"ENV_DOXYGEN_DEFINES": " ".join(defines),
|
"ENV_DOXYGEN_DEFINES": " ".join('{}={}'.format(key, value) for key, value in defines.items()),
|
||||||
"IDF_PATH": app.config.idf_path,
|
"IDF_PATH": app.config.idf_path,
|
||||||
"IDF_TARGET": app.config.idf_target,
|
"IDF_TARGET": app.config.idf_target,
|
||||||
})
|
})
|
||||||
|
|
Loading…
Reference in a new issue