Mercurial > hg > orthanc-python
view CodeAnalysis/FunctionDocumentation.mustache @ 182:20b004998fc2 java-code-model
documentation of custom methods
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Tue, 02 Jul 2024 14:06:56 +0200 |
parents | faaa3fec799a |
children | 7e8085f80df5 |
line wrap: on
line source
{{#documentation.short_description}} # {{documentation.short_description}} {{/documentation.short_description}} def {{short_name}}({{#is_method}}self{{#documentation.has_args}}, {{/documentation.has_args}}{{/is_method}}{{documentation.args_declaration}}) -> {{documentation.return_type}}: """ {{#documentation.description}} {{text}} {{/documentation.description}} {{#documentation.has_args}} Args: {{#documentation.args}} {{name}} ({{type}}): {{text}} {{/documentation.args}} {{/documentation.has_args}} {{#documentation.has_return}} Returns: {{documentation.return_type}}: {{documentation.return_text}} {{/documentation.has_return}} """ ...