File tree Expand file tree Collapse file tree 2 files changed +27
-1
lines changed Expand file tree Collapse file tree 2 files changed +27
-1
lines changed Original file line number Diff line number Diff line change @@ -3,9 +3,10 @@ var processJavaScript = require("./process/javascript");
3
3
var path = require ( "path" ) ;
4
4
5
5
/**
6
- * @module {function} bit-docs-js
7
6
* @parent plugins
7
+ * @module {function} bit-docs-js
8
8
* @group bit-docs-js/tags tags
9
+ * @group bit-docs-js/templates templates
9
10
*
10
11
* @description Tags, templates, and basic styles for JavaScript.
11
12
*
Original file line number Diff line number Diff line change
1
+ @parent bit-docs-js/templates
2
+ @page bit-docs-js/templates/signature signature
3
+
4
+ @description The function signature template.
5
+
6
+ @body
7
+
8
+ The ` signature.mustache ` template outputs a function signature.
9
+
10
+ For tips on adding this template to your custom theme, see
11
+ [ bit-docs-generate-html/theme/templates/content] .
12
+
13
+ You can use the following snippet:
14
+
15
+ ```
16
+ {{#if signatures}}
17
+ {{#each signatures}}
18
+ {{> signature.mustache}}
19
+ {{/each}}
20
+ {{else}}
21
+ {{#types}}
22
+ {{> signature.mustache}}
23
+ {{/types}}
24
+ {{/if}}
25
+ ```
You can’t perform that action at this time.
0 commit comments