Skip to content

Fix syntax returntype handling and show descriptions of Directives and Options#6668

Merged
chrisrueger merged 1 commit intobndtools:masterfrom
chrisrueger:fix-syntax-returntype-handling
Jul 11, 2025
Merged

Fix syntax returntype handling and show descriptions of Directives and Options#6668
chrisrueger merged 1 commit intobndtools:masterfrom
chrisrueger:fix-syntax-returntype-handling

Conversation

@chrisrueger
Copy link
Contributor

@chrisrueger chrisrueger commented Jul 11, 2025

  • display of deeply nested Syntaxes (e.g. -executable or -runstartlevels) whic are defined via @SyntaxAnnotationin Javacode
  • adds description to options
image

Related to the whole topic of docs generation #6666

- an else block (// simple value) was entered because an if was not an else-if, which led to the situation that previous Syntax children, determined by the rtype were added again because of the else block being entered. So the last Syntax (last wins) was used and the one with more information was ignored
- Syntax: suppress toString, equals, hashCode methods
- generatemanual: show description of directives/options
- fix indentation in deeply nested childs
 - e.g. _instructions/-execute.md, _instructions/-runstartlevel.md or _heads/bnd.md  are deeply nested. now the identation makes it more clear what belongs to what

Signed-off-by: Christoph Rueger <chrisrueger@gmail.com>
@chrisrueger chrisrueger force-pushed the fix-syntax-returntype-handling branch from cfa698e to 5da7002 Compare July 11, 2025 10:21
@chrisrueger chrisrueger marked this pull request as ready for review July 11, 2025 10:26
@chrisrueger chrisrueger merged commit 0b23c61 into bndtools:master Jul 11, 2025
13 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant