docs(cleanup): Remove extra heading from nav and var templates
This commit is contained in:
parent
0b59e664ec
commit
9757c137db
|
@ -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);
|
||||
}
|
||||
};
|
||||
};
|
||||
};
|
||||
|
|
|
@ -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 %}
|
||||
|
|
Loading…
Reference in New Issue