From ca2ea056066ff8cdf4d6849d482414d6fd739e59 Mon Sep 17 00:00:00 2001 From: Jacopo Mondi Date: Thu, 23 Jan 2020 18:14:31 +0100 Subject: libcamera: gen-controls: Fix documentation issue with << Doxygen fails to parse entries with multiple << signs as, in example, \var extern const Control> Remove the type from the control documentation as unique control and property names should not need any additional information specified for Doxygen to correctly identify them. Signed-off-by: Jacopo Mondi Signed-off-by: Laurent Pinchart Reviewed-by: Kieran Bingham --- src/libcamera/gen-controls.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libcamera/gen-controls.py b/src/libcamera/gen-controls.py index 773e9b5d..6f020a32 100755 --- a/src/libcamera/gen-controls.py +++ b/src/libcamera/gen-controls.py @@ -29,7 +29,7 @@ def generate_cpp(controls): enum_doc_value_template = string.Template(''' * \\var ${name}Values::${value} ${description}''') doc_template = string.Template('''/** - * \\var extern const Control<${type}> ${name} + * \\var ${name} ${description} */''') def_template = string.Template('extern const Control<${type}> ${name}(${id_name}, "${name}");') -- cgit v1.2.1