Skip to content

Commit 2781def

Browse files
committed
starting to document
1 parent c583015 commit 2781def

File tree

2 files changed

+10
-4
lines changed

2 files changed

+10
-4
lines changed

bit-docs.js

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,18 @@ var path = require("path");
55
/**
66
* @module {function} bit-docs-js
77
* @parent plugins
8+
* @group bit-docs-js/tags
89
*
910
* @description A collection of tags, templates, and basic styles for JavaScript applications.
1011
*
12+
* @param {Object} [bitDocs] The configuration object passed by `bit-docs` at runtime.
13+
*
1114
* @body
1215
*
13-
* TBD
16+
* This plugin registers onto these hooks:
17+
* - tags
18+
* - processor
19+
* - html
1420
*/
1521
module.exports = function(bitDocs){
1622
// register your tags

tags/function.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,11 +12,11 @@ var getParent = require("bit-docs-process-tags/get-parent"),
1212
var updateNameWithScope = require("../lib/updateNameAndParentWithScope");
1313

1414
/**
15-
* @constructor documentjs.tags.function @function
15+
* @module {Object} bit-docs-js/tags/function @function
1616
*
17-
* @parent documentjs.tags
17+
* @parent bit-docs-js/tags
1818
*
19-
* @description Specifies the comment is for a function. Use [documentjs.tags.param @param] to
19+
* @description Specifies the comment is for a function. Use [bit-docs-js/tags/param @param] to
2020
* specify the arguments of a function.
2121
*
2222
* @signature `@function [NAME] [TITLE]`

0 commit comments

Comments
 (0)