docs(cleanup): Remove extra heading from nav and var templates

This commit is contained in:
Naomi Black 2015-08-18 16:30:07 -07:00
parent 0b59e664ec
commit 9757c137db
2 changed files with 3 additions and 4 deletions

View File

@ -51,7 +51,7 @@ module.exports = function addJadeDataDocsProcessor() {
var modulePageInfo = _.map(doc.exports, function(exportDoc) {
return {
name: exportDoc.name + '-' + exportDoc.docType,
title: exportDoc.name + ' ' + titleCase(exportDoc.docType)
title: exportDoc.name
};
});
@ -73,4 +73,4 @@ module.exports = function addJadeDataDocsProcessor() {
return docs.concat(extraDocs);
}
};
};
};

View File

@ -3,11 +3,10 @@
{% block body %}
.l-main-section
h2 {$ doc.name $} <span class="type">variable</span>
p.location-badge.
exported from {@link {$ doc.moduleDoc.id $} {$doc.moduleDoc.id $} }
defined in {$ githubViewLink(doc) $}
:markdown
{$ doc.description | indent(4, true) | trimBlankLines $}
{% endblock %}
{% endblock %}