Skip to content

Commit c108352

Browse files
committed
#32 - remove search related stuff
1 parent 23fc68d commit c108352

File tree

5 files changed

+1
-91
lines changed

5 files changed

+1
-91
lines changed

generate.js

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -48,20 +48,12 @@ module.exports = function(docMapPromise, siteConfig){
4848
var helpersReadyPromise = docMapPromise.then(function(docMap){
4949
return build.helpers(buildTemplatesPromise, docMap, siteConfig, getCurrent);
5050
});
51-
var searchMapPromise = docMapPromise.then(function(docMap){
52-
return write.searchMap(docMap, siteConfig);
53-
});
54-
var searchMapHashPromise = searchMapPromise.then(function(searchMap){
55-
return write.docMapHash(searchMap, siteConfig);
56-
});
5751

5852
var docsPromise = Q.all([
5953
docMapPromise,
6054
build.renderer(buildTemplatesPromise, siteConfig),
6155
helpersReadyPromise,
62-
mkdirs(siteConfig.dest),
63-
searchMapPromise,
64-
searchMapHashPromise
56+
mkdirs(siteConfig.dest)
6557
]).then(function(results){
6658
var docMap = results[0],
6759
renderer = results[1];

package.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,6 @@
3232
"handlebars": "1.X",
3333
"lodash": "~4.13.1",
3434
"md5": "2.1.0",
35-
"sanitize-html": "^1.14.1",
3635
"steal-tools": "0.16.X",
3736
"striptags": "^2.1.1",
3837
"unescape-html": "^1.0.0"

write/doc_map_hash.js

Lines changed: 0 additions & 33 deletions
This file was deleted.

write/search_map.js

Lines changed: 0 additions & 46 deletions
This file was deleted.

write/write.js

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,5 +14,3 @@
1414
exports.docMap = require("./doc_map");
1515
exports.docObject = require("./doc_object");
1616
exports.staticDist = require("./static_dist");
17-
exports.searchMap = require("./search_map");
18-
exports.docMapHash = require("./doc_map_hash");

0 commit comments

Comments
 (0)