aboutsummaryrefslogtreecommitdiff
path: root/stardoc/templates/markdown_tables/aspect.vm
diff options
context:
space:
mode:
Diffstat (limited to 'stardoc/templates/markdown_tables/aspect.vm')
-rw-r--r--stardoc/templates/markdown_tables/aspect.vm32
1 files changed, 32 insertions, 0 deletions
diff --git a/stardoc/templates/markdown_tables/aspect.vm b/stardoc/templates/markdown_tables/aspect.vm
new file mode 100644
index 0000000..8bc3391
--- /dev/null
+++ b/stardoc/templates/markdown_tables/aspect.vm
@@ -0,0 +1,32 @@
+<a name="#${aspectName}"></a>
+
+#[[##]]# ${aspectName}
+
+<pre>
+${util.aspectSummary($aspectName, $aspectInfo)}
+</pre>
+
+$aspectInfo.getDocString()
+
+**ASPECT ATTRIBUTES**
+
+#if (!$aspectInfo.getAspectAttributeList().isEmpty())
+
+| Name | Type |
+| :-------------: | :-------------: |
+#foreach ($aspectAttribute in $aspectInfo.getAspectAttributeList())
+| $aspectAttribute| String |
+#end
+#end
+
+
+**ATTRIBUTES**
+
+#if (!$aspectInfo.getAttributeList().isEmpty())
+
+| Name | Description | Type | Mandatory | Default |
+| :-------------: | :-------------: | :-------------: | :-------------: | :-------------: |
+#foreach ($attribute in $aspectInfo.getAttributeList())
+| $attribute.name | #if(!$attribute.docString.isEmpty()) ${util.markdownCellFormat($attribute.docString)} #else - #end | ${util.attributeTypeString($attribute)} | ${util.mandatoryString($attribute)} | $attribute.defaultValue |
+#end
+#end