Skip to content

Commit b6b9ede

Browse files
chore(doc-gen): include interfaces in the possible exports from a module
1 parent 118f052 commit b6b9ede

File tree

3 files changed

+3
-1
lines changed

3 files changed

+3
-1
lines changed

docs/dgeni-package/index.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ module.exports = new Package('angular', [jsdocPackage, nunjucksPackage, linksPac
2525
.factory('EXPORT_DOC_TYPES', function() {
2626
return [
2727
'class',
28+
'interface',
2829
'function',
2930
'var',
3031
'const'

docs/dgeni-package/templates/class.template.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
{% extends 'layout/base.template.html' -%}
33

44
{% block body %}
5-
<h1 class="class export">{$ doc.name $} <span class="type">class</span></h1>
5+
<h1 class="class export">{$ doc.name $} <span class="type">{$ doc.docType $}</span></h1>
66
<p class="module">exported from <a href="/{$ doc.moduleDoc.path $}">{$ doc.moduleDoc.id $}</a><br/>
77
defined in <a href="https://github.com/angular/angular/tree/master/modules/{$ doc.fileInfo.relativePath $}#L{$ doc.location.start.line+1 $}-L{$ doc.location.end.line+1 $}">
88
{$ doc.fileInfo.relativePath $} (line {$ doc.location.start.line+1 $})</a></p>
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
{% extends 'class.template.html' -%}

0 commit comments

Comments
 (0)