Skip to content

Commit 1ae48bb

Browse files
committed
some prelim docs
1 parent 69509c3 commit 1ae48bb

File tree

3 files changed

+28
-17
lines changed

3 files changed

+28
-17
lines changed

bit-docs.js

+12
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,18 @@ var mergeOnto = function(prop, dest, source){
88
}
99
};
1010

11+
/**
12+
* @module {function} bit-docs-generate-html
13+
* @parent BitDocs
14+
* @group bit-docs-generate-html/modules modules
15+
*
16+
* @description Generates HTML for a docMap. Supports plugins.
17+
*
18+
* @body
19+
*
20+
* Blah blah
21+
*/
22+
1123
module.exports = function(bitDocs){
1224
bitDocs.register("generator", generator);
1325

build/renderer.js

+14-15
Original file line numberDiff line numberDiff line change
@@ -9,28 +9,28 @@ var buildTemplates = require("./templates"),
99

1010

1111
/**
12-
* @function documentjs.generators.html.build.renderer
13-
* @parent documentjs.generators.html.build.methods
14-
*
12+
* @module {function} bit-docs-generate-html/build/renderer
13+
* @parent bit-docs-generate-html/modules
14+
*
1515
* Creates a renderer function used to generate
1616
* the documentation.
17-
*
17+
*
1818
* @signature `.build.renderer(buildTemplatesPromise, options)`
19-
*
20-
* Registers all `.mustache` files in the _documentjs/site/templates_ folder as
19+
*
20+
* Registers all `.mustache` files in the _documentjs/site/templates_ folder as
2121
* partials and creates a [documentjs.generators.html.types.renderer renderer] function that
22-
* renders the `content.mustache` template within the `layout.mustache` template.
23-
*
24-
* @param {Promise<Handlebars>} buildTemplatesPromise The result of calling
22+
* renders the `content.mustache` template within the `layout.mustache` template.
23+
*
24+
* @param {Promise<Handlebars>} buildTemplatesPromise The result of calling
2525
* [documentjs.generators.html.build.templates]. Building the renderer
26-
* must happen after the templates have been copied over. Passing this
26+
* must happen after the templates have been copied over. Passing this
2727
* argument enforces that.
28-
*
28+
*
2929
* @param {{}} options
30-
*
30+
*
3131
* Options used to configure the behavior of the renderer.
32-
*
33-
*
32+
*
33+
*
3434
* @return {Promise<documentjs.generators.html.types.renderer>} A promise that
3535
* resolves with the renderer function.
3636
*/
@@ -49,4 +49,3 @@ module.exports = function(buildTemplatesPromise, options){
4949
});
5050
});
5151
};
52-

build/static_dist.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@ var queue = promiseLock(),
1212
remove = Q.denodeify(fs.remove);
1313

1414
/**
15-
* @function documentjs.generators.html.build.staticDist
16-
* @parent documentjs.generators.html.build.methods
15+
* @module {function} bit-docs-generate-html/build/static_dist
16+
* @parent bit-docs-generate-html/modules
1717
*
1818
* Builds a static distributable which will eventually be copied
1919
* to the `static` folder of the generated output.

0 commit comments

Comments
 (0)