Index: library/lib/doc-assets/command.html.tmpl =================================================================== diff -u -rcda7278a163020684b886f41aec71c90a2c39535 -r29239ea82b8a38f1100335b3fa8ad7798872d2e3 --- library/lib/doc-assets/command.html.tmpl (.../command.html.tmpl) (revision cda7278a163020684b886f41aec71c90a2c39535) +++ library/lib/doc-assets/command.html.tmpl (.../command.html.tmpl) (revision 29239ea82b8a38f1100335b3fa8ad7798872d2e3) @@ -8,9 +8,52 @@
- + +[:?var :@subcommand { +
+
+

Subcommands

+
+ [:for sub ${:@subcommand} { +
+

[$sub name] +

+
+
+ [$sub text] +
+ [:? {[$sub exists :@param]} { +
+
Parameters:
+ [:for param [$sub @param] { +
+ [$param name] + <[:? {[$param exists spec]} {[$param spec]}]> + + [$param text] +
+ }] +
+ }] + + [:? {[$sub exists :@return]} { +
+
Returns: + +
+
[[$sub @return] text]
+
+ }] +
+
+
+ }] +
+
+
+} - { [:?var :@param { -
+
Parameters:
[:for param ${:@param} {
@@ -27,11 +70,11 @@
Returns: - $method.return.type
-
$method.return.description
+
[${:@return} text]
}] +}]