chore(doc-gen): include interfaces in the possible exports from a module
This commit is contained in:
parent
118f0520a2
commit
b6b9ede425
|
@ -25,6 +25,7 @@ module.exports = new Package('angular', [jsdocPackage, nunjucksPackage, linksPac
|
|||
.factory('EXPORT_DOC_TYPES', function() {
|
||||
return [
|
||||
'class',
|
||||
'interface',
|
||||
'function',
|
||||
'var',
|
||||
'const'
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
{% extends 'layout/base.template.html' -%}
|
||||
|
||||
{% block body %}
|
||||
<h1 class="class export">{$ doc.name $} <span class="type">class</span></h1>
|
||||
<h1 class="class export">{$ doc.name $} <span class="type">{$ doc.docType $}</span></h1>
|
||||
<p class="module">exported from <a href="/{$ doc.moduleDoc.path $}">{$ doc.moduleDoc.id $}</a><br/>
|
||||
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 $}">
|
||||
{$ doc.fileInfo.relativePath $} (line {$ doc.location.start.line+1 $})</a></p>
|
||||
|
|
|
@ -0,0 +1 @@
|
|||
{% extends 'class.template.html' -%}
|
Loading…
Reference in New Issue