chore(doc-gen): provide aliases for jade-data docs

This commit is contained in:
Peter Bacon Darwin 2015-05-07 10:25:02 +01:00
parent 49777648b3
commit e138add584
1 changed files with 1 additions and 0 deletions

View File

@ -61,6 +61,7 @@ module.exports = function addJadeDataDocsProcessor(EXPORT_DOC_TYPES) {
// PUSH DATA TO EXTRA DOCS ARRAY // PUSH DATA TO EXTRA DOCS ARRAY
extraDocs.push({ extraDocs.push({
id: doc.id + "-data", id: doc.id + "-data",
aliases: [doc.id + "-data"],
docType: 'jade-data', docType: 'jade-data',
originalDoc: doc, originalDoc: doc,
data: allPageData data: allPageData