Skip to content

Commit

Permalink
refactor: replicate function and record sections
Browse files Browse the repository at this point in the history
  • Loading branch information
alandefreitas committed Nov 21, 2023
1 parent 6e00120 commit a0c9d1d
Show file tree
Hide file tree
Showing 2 changed files with 29 additions and 0 deletions.
27 changes: 27 additions & 0 deletions share/mrdocs/addons/generator/asciidoc/partials/function.adoc.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,31 @@

{{symbol.doc.description}}

{{! TODO: == Exceptions }}

{{#if symbol.return}}
== Return Value

* `{{symbol.return.name}}` {{! TODO: symbol.doc.return }}

{{/if}}

{{#if symbol.params}}
== Parameters

|===
| Name | Type {{! TODO: | Description }}

{{#each symbol.params}}
| *{{name}}*
| `{{type.name}}`
{{! TODO: symbol.doc.params.[name] }}

{{/each}}
|===

{{/if}}

{{! TODO: == See Also }}

{{/if}}
Original file line number Diff line number Diff line change
Expand Up @@ -21,3 +21,5 @@
{{symbol.doc.description}}

{{/if}}

{{! TODO: == See Also }}

0 comments on commit a0c9d1d

Please sign in to comment.