From 187081d639e8dacc0fbe57c4a698dbc18a5e8090 Mon Sep 17 00:00:00 2001 From: Silvio Lucio Oliva Date: Thu, 6 Jun 2024 09:28:24 +0200 Subject: [PATCH] Align generators/generator/gpdsc description in doc to XSD schema (#316) The `generators/generator/gpdsc` element has `type = xs:string` in the documentation while it has `type = GpdscFileType` in the Pack.xsd schema (with `GpdscFileType` that has an attribute `name = xs:string`). In this PR I've aligned the description in the documentation to what is defined in the schema. --------- Signed-off-by: Silvio Lucio Oliva Co-authored-by: Joachim Krech --- doxygen/src/generators_schema.txt | 49 +++++++++++++++++++++++++++++-- 1 file changed, 46 insertions(+), 3 deletions(-) diff --git a/doxygen/src/generators_schema.txt b/doxygen/src/generators_schema.txt index 3e1b4fe..ecb5a96 100644 --- a/doxygen/src/generators_schema.txt +++ b/doxygen/src/generators_schema.txt @@ -253,12 +253,12 @@ generator element must exist. 0..1 - gpdsc + \ref element_gen_gpdsc "gpdsc" Path and name of the GPDSC that the generator creates and updates. The path is either absolute or relative to the working directory. If no explicit gpdsc file is provided, then a gpdsc file named after the project with extension gpdsc in the working directory is assumed (\c \.gpdsc). - xs:string + GpdscFileType 0..1 @@ -307,7 +307,7 @@ generator element must exist. \section element_gen_select /package/generators/generator/select This element contains information about the vendor and device the GPDSC file has been generated for. Only one such -element can exist in \c \. +element can exist in \ref element_generator "\". \b Example: \code @@ -364,6 +364,49 @@ element can exist in \c \.

 


+\section element_gen_gpdsc /package/generators/generator/gpdsc + +Path and name of the GPDSC that the generator creates and updates. +The path is either absolute or relative to the working directory. +If no explicit gpdsc file is provided, then a gpdsc file named after the project with extension gpdsc in the working directory is assumed (\.gpdsc). +Only one such element can exist in \ref element_generator "\". + +\b Example: +\code + + + + + +\endcode +

 

+ + + + + + + + + + + + + + + + + + + + + + +
ParentChain
\ref element_generator "generator"\ref element_generator
AttributesDescriptionTypeUse
namePath and name of the GPDSC that the generator creates and updates. + xs:stringrequired
+

 

+
+ \section element_gen_exe /package/generators/generator/exe This element contains information about the generation binary/executable.