From 17b90afcab0fb64ed2f546012c748102c7e9b5c5 Mon Sep 17 00:00:00 2001 From: morris Date: Mon, 30 Mar 2020 18:26:37 +0800 Subject: [PATCH] doc: fix defines dict expansion --- docs/idf_extensions/run_doxygen.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/idf_extensions/run_doxygen.py b/docs/idf_extensions/run_doxygen.py index eb5975dcee..474798ab6d 100644 --- a/docs/idf_extensions/run_doxygen.py +++ b/docs/idf_extensions/run_doxygen.py @@ -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, })