feat(docs): export type info for var and const exports

Closes #3700
This commit is contained in:
Brian Ford
2015-08-19 16:04:43 -07:00
parent 3963e0ab39
commit 9262727ae1
3 changed files with 11 additions and 3 deletions

View File

@ -51,7 +51,8 @@ module.exports = function addJadeDataDocsProcessor() {
var modulePageInfo = _.map(doc.exports, function(exportDoc) {
return {
name: exportDoc.name + '-' + exportDoc.docType,
title: exportDoc.name
title: exportDoc.name,
varType: exportDoc.symbolTypeName && titleCase(exportDoc.symbolTypeName)
};
});