From 5de9f3ca7fd6e236d43daccbbf89f1bd7552092d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ricardo=20Gonz=C3=A1lez?= Date: Wed, 17 Jan 2024 12:53:00 +0100 Subject: [PATCH] Fix Python API generation (#647) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Ricardo González Moreno --- docs/conf.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/docs/conf.py b/docs/conf.py index 09d0729a3..7ae9324e2 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -271,6 +271,10 @@ def configure_doxyfile( os.makedirs(os.path.dirname(output_dir), exist_ok=True) os.makedirs(os.path.dirname(doxygen_html), exist_ok=True) + os.makedirs("{}/include/fastcdr".format(fastdds_repo_name), exist_ok=True) + with open("{}/include/fastcdr/config.h".format(fastdds_repo_name), "w") as config_file: + config_file.write("#define FASTCDR_VERSION_MAJOR 1") + # Configure Doxyfile configure_doxyfile( doxyfile_in,