From ec8184cf42a62f37360225bbae62f4d6defc7a22 Mon Sep 17 00:00:00 2001 From: Mohamed Abdelaziz Date: Sat, 16 Mar 2024 07:28:53 +0000 Subject: [PATCH] set param_description to TODO if not available --- ros2autodoc/api/doc_writer.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ros2autodoc/api/doc_writer.py b/ros2autodoc/api/doc_writer.py index fda3e53..b2ac246 100644 --- a/ros2autodoc/api/doc_writer.py +++ b/ros2autodoc/api/doc_writer.py @@ -35,6 +35,8 @@ def get_parameters(self, param_names, params_map, desciption_map): if param not in PARAMS_TO_IGNORE: param_type = params_map[param] param_description = desciption_map[param] + if not param_description: + param_description = TODO self.parameters.append( { "name": param,