Skip to content
This repository was archived by the owner on Dec 4, 2017. It is now read-only.

Commit 8c7e2a1

Browse files
petebacondarwinIgorMinar
authored andcommitted
chore(dgeni-packages): update to use 0.15.2
This version includes the feature to hide members that are marked private in TypeScript.
1 parent d4a641e commit 8c7e2a1

File tree

10 files changed

+40
-40
lines changed

10 files changed

+40
-40
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@
3636
"cross-spawn": "^4.0.0",
3737
"del": "^2.2.0",
3838
"dgeni": "^0.4.0",
39-
"dgeni-packages": "^0.13.1",
39+
"dgeni-packages": "^0.15.2",
4040
"diff": "^2.1.3",
4141
"fs-extra": "^0.30.0",
4242
"globby": "^4.0.0",

tools/api-builder/angular.io-package/templates/class.template.html

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
{% include "lib/githubLinks.html" -%}
2-
{% include "lib/paramList.html" -%}
1+
{% import "lib/githubLinks.html" as github -%}
2+
{% import "lib/paramList.html" as params -%}
33
{% extends 'layout/base.template.html' -%}
44

55
{% block body %}
@@ -25,7 +25,7 @@
2525
pre(class="prettyprint no-bg-with-indent")
2626
a(class="code-anchor" href="#{$ member.name $}-anchor")
2727
code(class="code-background api-doc-code") {$ member.name | indent(6, false) | trim $}
28-
code(class="api-doc-code") {$ paramList(member.parameters) | indent(8, false) | trim $}{$ returnType(member.returnType) $}
28+
code(class="api-doc-code") {$ params.paramList(member.parameters) | indent(8, false) | trim $}{$ params.returnType(member.returnType) $}
2929
{% endif %}{% endfor %}
3030
{% endif %}
3131
{% if doc.constructorDoc.name %}
@@ -34,15 +34,15 @@
3434
a(class="code-anchor" href="#constructor")
3535
code(class="code-background api-doc-code") {$ doc.constructorDoc.name $}
3636
code(class="api-doc-code").
37-
{$ paramList(doc.constructorDoc.parameters) | indent(8, false) | trim $}
37+
{$ params.paramList(doc.constructorDoc.parameters) | indent(8, false) | trim $}
3838
{% endif %}
3939
{% if doc.members.length %}
4040
div(layout="column")
4141
{% for member in doc.members %}{% if not member.internal %}
4242
pre(class="prettyprint no-bg-with-indent")
4343
a(class="code-anchor" href="#{$ member.name $}-anchor")
4444
code(class="code-background api-doc-code") {$ member.name | indent(6, false) | trim $}
45-
code(class="api-doc-code") {$ paramList(member.parameters) | indent(8, false) | trim $}{$ returnType(member.returnType) $}
45+
code(class="api-doc-code") {$ params.paramList(member.parameters) | indent(8, false) | trim $}{$ params.returnType(member.returnType) $}
4646
{% endif %}{% endfor %}
4747
{% endif %}
4848
p(class="selector endParens")
@@ -69,7 +69,7 @@
6969
{%- for decorator in doc.decorators %}
7070
pre.prettyprint.no-bg
7171
code(class="api-doc-code").
72-
@{$ decorator.name $}{$ paramList(decorator.arguments) | indent(10, false) $}
72+
@{$ decorator.name $}{$ params.paramList(decorator.arguments) | indent(10, false) $}
7373
:marked
7474
{%- if not decorator.notYetDocumented %}
7575
{$ decorator.description | indentForMarkdown(8) | trimBlankLines $}
@@ -86,7 +86,7 @@
8686
a(name="constructor" class="anchor-offset")
8787
pre(class="prettyprint no-bg" ng-class="{ 'anchor-focused': appCtrl.isApiDocMemberFocused('{$ doc.constructorDoc.name $}') }")
8888
code(class="api-doc-code").
89-
{$ doc.constructorDoc.name $}{$ paramList(doc.constructorDoc.parameters) | indent(8, false) | trim $}
89+
{$ doc.constructorDoc.name $}{$ params.paramList(doc.constructorDoc.parameters) | indent(8, false) | trim $}
9090
:marked
9191
{%- if not doc.constructorDoc.notYetDocumented %}
9292
{$ doc.constructorDoc.description | indentForMarkdown(6) | replace('### Example', '') | replace('## Example', '') | replace('# Example', '') | trimBlankLines $}
@@ -102,7 +102,7 @@
102102
a(name="{$ member.name $}-anchor" class="anchor-offset")
103103
pre(class="prettyprint no-bg" ng-class="{ 'anchor-focused': appCtrl.isApiDocMemberFocused('{$ member.name $}') }")
104104
code(class="api-doc-code").
105-
{$ member.name $}{$ paramList(member.parameters) | indent(8, false) | trim $}{$ returnType(member.returnType) $}
105+
{$ member.name $}{$ params.paramList(member.parameters) | indent(8, false) | trim $}{$ params.returnType(member.returnType) $}
106106
:marked
107107
{%- if not member.notYetDocumented %}
108108
{$ member.description | indentForMarkdown(6) | replace('### Example', '') | replace('## Example', '') | replace('# Example', '') | trimBlankLines $}
@@ -124,7 +124,7 @@
124124
a(name="{$ member.name $}-anchor" class="anchor-offset")
125125
pre(class="prettyprint no-bg" ng-class="{ 'anchor-focused': appCtrl.isApiDocMemberFocused('{$ member.name $}') }")
126126
code(class="api-doc-code").
127-
{$ member.name $}{$ paramList(member.parameters) | indent(8, false) | trim $}{$ returnType(member.returnType) $}
127+
{$ member.name $}{$ params.paramList(member.parameters) | indent(8, false) | trim $}{$ params.returnType(member.returnType) $}
128128

129129
:marked
130130
{%- if not member.notYetDocumented %}
@@ -140,6 +140,6 @@
140140

141141
p(class="location-badge").
142142
exported from {@link {$ doc.moduleDoc.id $} {$doc.moduleDoc.id $} },
143-
defined in {$ githubViewLink(doc) $}
143+
defined in {$ github.githubViewLink(doc) $}
144144

145145
{% endblock %}

tools/api-builder/angular.io-package/templates/decorator.template.html

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
{% include "lib/githubLinks.html" -%}
2-
{% include "lib/paramList.html" -%}
1+
{% import "lib/githubLinks.html" as github -%}
2+
{% import "lib/paramList.html" as params -%}
33
{% extends 'layout/base.template.html' %}
44

55
{% block body %}
@@ -19,13 +19,13 @@
1919
div(class="code-links" flex="80" flex-xs="100")
2020
pre.prettyprint.no-bg
2121
code.
22-
export {$ doc.name $}(options : {@link {$ doc.decoratorType $} {$ doc.decoratorType | escape $}}){$ returnType(doc.returnType) $}
22+
export {$ doc.name $}(options : {@link {$ doc.decoratorType $} {$ doc.decoratorType | escape $}}){$ params.returnType(doc.returnType) $}
2323
:marked
2424
{%- if not doc.notYetDocumented %}
2525
{$ doc.description | indentForMarkdown(6) | trimBlankLines $}
2626
{% endif %}
2727

2828
p.location-badge.
29-
exported from {@link {$ doc.moduleDoc.id $} {$doc.moduleDoc.id $} } defined in {$ githubViewLink(doc) $}
29+
exported from {@link {$ doc.moduleDoc.id $} {$doc.moduleDoc.id $} } defined in {$ github.githubViewLink(doc) $}
3030

3131
{% endblock %}

tools/api-builder/angular.io-package/templates/directive.template.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
{% include "lib/githubLinks.html" -%}
2-
{% include "lib/paramList.html" -%}
1+
{% import "lib/githubLinks.html" as github -%}
2+
{% import "lib/paramList.html" as params -%}
33
{% extends 'class.template.html' -%}
44

55
{% block annotations %}

tools/api-builder/angular.io-package/templates/function.template.html

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
{% include "lib/githubLinks.html" -%}
2-
{% include "lib/paramList.html" -%}
1+
{% import "lib/githubLinks.html" as github -%}
2+
{% import "lib/paramList.html" as params -%}
33
{% extends 'layout/base.template.html' -%}
44

55
{% block body %}
@@ -19,13 +19,13 @@
1919
div(class="code-links" flex="80" flex-xs="100")
2020
pre.prettyprint.no-bg
2121
code.
22-
export {$ doc.name $}{$ paramList(doc.parameters) | indent(8, true) | trim $}{$ returnType(doc.returnType) $}
22+
export {$ doc.name $}{$ params.paramList(doc.parameters) | indent(8, true) | trim $}{$ params.returnType(doc.returnType) $}
2323
:marked
2424
{%- if not doc.notYetDocumented %}
2525
{$ doc.description | indentForMarkdown(6) | trimBlankLines $}
2626
{% endif %}
2727

2828
p.location-badge.
29-
exported from {@link {$ doc.moduleDoc.id $} {$doc.moduleDoc.id $} } defined in {$ githubViewLink(doc) $}
29+
exported from {@link {$ doc.moduleDoc.id $} {$doc.moduleDoc.id $} } defined in {$ github.githubViewLink(doc) $}
3030

3131
{% endblock %}

tools/api-builder/angular.io-package/templates/interface.template.html

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
{% include "lib/githubLinks.html" -%}
2-
{% include "lib/paramList.html" -%}
1+
{% import "lib/githubLinks.html" as github -%}
2+
{% import "lib/paramList.html" as params -%}
33
{% extends 'layout/base.template.html' -%}
44

55
{% block body %}
@@ -25,7 +25,7 @@
2525
pre(class="prettyprint no-bg-with-indent")
2626
a(class="code-anchor" href="#{$ member.name $}-anchor")
2727
code(class="code-background api-doc-code") {$ member.name | indent(6, false) | trim $}
28-
code(class="api-doc-code") {$ paramList(member.parameters) | indent(8, false) | trim $}{$ returnType(member.returnType) $}
28+
code(class="api-doc-code") {$ params.paramList(member.parameters) | indent(8, false) | trim $}{$ params.returnType(member.returnType) $}
2929
{% endif %}{% endfor %}
3030
{% endif %}
3131
p(class="selector endParens")
@@ -52,7 +52,7 @@
5252
a(name="{$ member.name $}-anchor" class="anchor-offset")
5353
pre(class="prettyprint no-bg" ng-class="{ 'anchor-focused': appCtrl.isApiDocMemberFocused('{$ member.name $}') }")
5454
code(class="api-doc-code").
55-
{$ member.name $}{$ paramList(member.parameters) | indent(8, false) | trim $}{$ returnType(member.returnType) $}
55+
{$ member.name $}{$ params.paramList(member.parameters) | indent(8, false) | trim $}{$ params.returnType(member.returnType) $}
5656

5757
:marked
5858
{%- if not member.notYetDocumented %}
@@ -68,6 +68,6 @@
6868

6969
p(class="location-badge").
7070
exported from {@link {$ doc.moduleDoc.id $} {$doc.moduleDoc.id $} },
71-
defined in {$ githubViewLink(doc) $}
71+
defined in {$ github.githubViewLink(doc) $}
7272

7373
{% endblock %}

tools/api-builder/angular.io-package/templates/module.template.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
1-
{% include "lib/githubLinks.html" -%}
1+
{% import "lib/githubLinks.html" as github -%}
22
{% extends 'layout/base.template.html' -%}
33
{% block body -%}
44
include {$ relativePath(doc.path, '_util-fns') $}
55
p.location-badge.
6-
defined in {$ githubViewLink(doc) $}
6+
defined in {$ github.githubViewLink(doc) $}
77

88
ul
99
{% for page in doc.childPages -%}

tools/api-builder/angular.io-package/templates/overview-dump.template.html

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
{% include "lib/githubLinks.html" -%}
2-
{% include "lib/paramList.html" -%}
1+
{% import "lib/githubLinks.html" as github -%}
2+
{% import "lib/paramList.html" as params -%}
33
<!DOCTYPE html>
44
<html>
55
<head>
@@ -47,21 +47,21 @@ <h2>
4747

4848
{% for export in module.exports %}
4949
<h3 {% if export.notYetDocumented %}class="not-documented"{% endif %}>
50-
<a href="{$ githubHref(export) $}">
50+
<a href="{$ github.githubHref(export) $}">
5151
<code>{$ export.docType $} {$ export.name $}</code>
5252
</a>
5353
</h3>
5454
{%- if export.constructorDoc %}
5555
<h4 {% if export.constructorDoc.notYetDocumented %}class="not-documented"{% endif %}>
56-
<a href="{$ githubHref(export.constructorDoc) $}">
57-
<code>{$ export.constructorDoc.name $}{$ paramList(export.constructorDoc.params) $}</code>
56+
<a href="{$ github.githubHref(export.constructorDoc) $}">
57+
<code>{$ export.constructorDoc.name $}{$ params.paramList(export.constructorDoc.params) $}</code>
5858
</a>
5959
</h4>
6060
{% endif -%}
6161
{%- for member in export.members %}
6262
<h4 {% if member.notYetDocumented %}class="not-documented"{% endif %}>
63-
<a href="{$ githubHref(member) $}">
64-
<code>{$ member.name $}{$ paramList(member.params) $}</code>
63+
<a href="{$ github.githubHref(member) $}">
64+
<code>{$ member.name $}{$ params.paramList(member.params) $}</code>
6565
</a>
6666
</h4>
6767
{% endfor %}

tools/api-builder/angular.io-package/templates/var.template.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
{% include "lib/githubLinks.html" -%}
2-
{% include "lib/paramList.html" -%}
1+
{% import "lib/githubLinks.html" as github -%}
2+
{% import "lib/paramList.html" as params -%}
33
{% extends 'layout/base.template.html' %}
44

55
{% block body %}
@@ -27,6 +27,6 @@
2727

2828
p.location-badge.
2929
exported from {@link {$ doc.moduleDoc.id $} {$doc.moduleDoc.id $} }
30-
defined in {$ githubViewLink(doc) $}
30+
defined in {$ github.githubViewLink(doc) $}
3131

3232
{% endblock %}

tools/api-builder/docs-package/templates/module.template.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
1-
{% include "lib/githubLinks.html" -%}
1+
{% import "lib/githubLinks.html" as github -%}
22
{% extends 'layout/base.template.html' %}
33

44
{% block body %}
55
<h1 class="id">{$ doc.id $} <span class="type">module</span></h1>
6-
<p>defined in {$ githubViewLink(doc) $}</p>
6+
<p>defined in {$ github.githubViewLink(doc) $}</p>
77
<p>{$ doc.description | marked $}</p>
88

99
{% if doc.exports.length %}

0 commit comments

Comments
 (0)