chore(doc-gen): include interfaces in the possible exports from a module

This commit is contained in:
Peter Bacon Darwin 2015-05-19 12:54:01 +01:00
parent 118f0520a2
commit b6b9ede425
3 changed files with 3 additions and 1 deletions

View File

@ -25,6 +25,7 @@ module.exports = new Package('angular', [jsdocPackage, nunjucksPackage, linksPac
.factory('EXPORT_DOC_TYPES', function() {
return [
'class',
'interface',
'function',
'var',
'const'

View File

@ -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>

View File

@ -0,0 +1 @@
{% extends 'class.template.html' -%}