-
Notifications
You must be signed in to change notification settings - Fork 1
Closed
Description
Justin has provided this step-by-step guide:
1. https://github.com/bit-docs/bit-docs-generate-html/blob/master/bit-docs.js
siteConfig.html = {
dependencies: {},
static: [],
templates: [],
staticDist: []
};
if htmlConfig has `staticDist` -> merge into `siteConfig.html.staticDist`
2. https://github.com/bit-docs/bit-docs-generate-html/blob/master/site/default/static/build.js
// BOTH IN devBuild and NOT
siteConfig.html.staticDist.forEach(function(path){
fsx.copy(path, path.join(folders.dist) )
})
COPY THIS TEST: https://github.com/bit-docs/bit-docs-generate-html/blob/master/build/build_test.js#L108
3. https://github.com/canjs/bit-docs-html-canjs/blob/master/bit-docs.js
bitDocs.register("html", {
templates: path.join(__dirname, "templates"),
dependencies: dependencies,
staticDist: path.join(__dirname, "search-dest"),
});
Metadata
Metadata
Assignees
Labels
No labels