Skip to content

Commit 9757c13

Browse files
committed
docs(cleanup): Remove extra heading from nav and var templates
1 parent 0b59e66 commit 9757c13

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

docs/angular.io-package/processors/addJadeDataDocsProcessor.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ module.exports = function addJadeDataDocsProcessor() {
5151
var modulePageInfo = _.map(doc.exports, function(exportDoc) {
5252
return {
5353
name: exportDoc.name + '-' + exportDoc.docType,
54-
title: exportDoc.name + ' ' + titleCase(exportDoc.docType)
54+
title: exportDoc.name
5555
};
5656
});
5757

@@ -73,4 +73,4 @@ module.exports = function addJadeDataDocsProcessor() {
7373
return docs.concat(extraDocs);
7474
}
7575
};
76-
};
76+
};

docs/angular.io-package/templates/var.template.html

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,10 @@
33

44
{% block body %}
55
.l-main-section
6-
h2 {$ doc.name $} <span class="type">variable</span>
76
p.location-badge.
87
exported from {@link {$ doc.moduleDoc.id $} {$doc.moduleDoc.id $} }
98
defined in {$ githubViewLink(doc) $}
109

1110
:markdown
1211
{$ doc.description | indent(4, true) | trimBlankLines $}
13-
{% endblock %}
12+
{% endblock %}

0 commit comments

Comments
 (0)