Skip to content

Commit 63530c1

Browse files
committed
making bit-docs work
1 parent 2035c84 commit 63530c1

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

bit-docs.js

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
var tags = require("./tags/tags");
22
var processJavaScript = require("./process/javascript");
3+
var path = require("path");
4+
35
module.exports = function(bitDocs){
46
// register your tags
57
bitDocs.register("tags", tags);
@@ -11,7 +13,7 @@ module.exports = function(bitDocs){
1113

1214
bitDocs.register("html", {
1315
dependencies: dependencies,
14-
templates: __dirname+"/templates"
16+
templates: path.join(__dirname, "templates")
1517
});
1618

17-
});
19+
};

test.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
require("./bit-docs");
2+
13
require("./process/process_test");
24

35
require("./tags/tags_test");

0 commit comments

Comments
 (0)