Merge branch 'bugfix/expand_defines_dict' into 'master'

doc: fix defines dict expansion

See merge request espressif/esp-idf!8169
This commit is contained in:
Krzysztof Budzynski 2020-04-01 20:36:12 +08:00
commit 8210802703

View File

@ -71,7 +71,7 @@ def generate_doxygen(app, project_description):
print("Calling Doxygen to generate latest XML files")
doxy_env = os.environ
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_TARGET": app.config.idf_target,
})