Skip to content
This repository was archived by the owner on Sep 5, 2024. It is now read-only.

Commit c27603f

Browse files
Splaktarjelbourn
authored andcommitted
build(docs-generate): support recent versions of NodeJS (#11039)
upgrade dgeni-packages to get a working version of fsevents lib fix macro imports to work with latest nunjucks required by dgeni fix error for mdCompilerProvider not found update package-lock.json to pull in latest marked w/ vulnerability fixes update travis to latest NodeJS LTS fixes #11038. fixes #11049.
1 parent ccb310d commit c27603f

File tree

8 files changed

+2980
-595
lines changed

8 files changed

+2980
-595
lines changed

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ language: node_js
22
sudo: false
33

44
node_js:
5-
- '6.9.0'
5+
- '8'
66

77
env:
88
global:

docs/config/template/ngdoc/lib/methods.template.html

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
{% import "./macros.html" as macros %}
2+
13
{%- if doc.methods %}
24
<section class="api-section">
35
<h2>Methods</h2>
@@ -6,14 +8,14 @@ <h2>Methods</h2>
68
{%- for method in doc.methods %}
79
<li id="{$ method.name $}">
810
<h3 class="method-function-syntax">
9-
<code class="method-function-syntax">{$ doc.name $}.{$ functionSyntax(method) $}</code>
11+
<code class="method-function-syntax">{$ doc.name $}.{$ macros.functionSyntax(method) $}</code>
1012
</h3>
1113
<div class="service-desc">{$ method.description | marked $}</div>
1214

1315
<div class="method-param-table">
1416

1517
{% if method.params %}
16-
{$ paramTable(method.params) $}
18+
{$ macros.paramTable(method.params) $}
1719
{% endif %}
1820

1921
{% if method.this %}
@@ -22,7 +24,7 @@ <h4>Method's {% code %}this{% endcode %}</h4>
2224
{% endif %}
2325

2426
{% if method.returns %}
25-
{$ returnTable(method.returns) $}
27+
{$ macros.returnTable(method.returns) $}
2628
{% endif %}
2729

2830
</div>

docs/config/template/ngdoc/lib/params.template.html

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
{% import "./macros.html" as macros %}
2+
13
{%- if doc.params %}
24
<div class="api-param-section">
35
<h2>
@@ -10,7 +12,7 @@ <h2>
1012
{% endif %}
1113
</h2>
1214
<div class="api-param-table">
13-
{$ paramTable(doc.params) $}
15+
{$ macros.paramTable(doc.params) $}
1416
</div>
1517
</div>
1618
{%- endif -%}

docs/config/template/ngdoc/lib/properties.template.html

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
{% import "./macros.html" as macros %}
2+
13
{%- if doc.properties %}
24
<section class="api-section">
35
<h2>Properties</h2>
@@ -13,7 +15,7 @@ <h3 class="method-function-syntax">
1315
<div class="method-param-table">
1416

1517
{% if property.params %}
16-
{$ paramTable(property.params) $}
18+
{$ macros.paramTable(property.params) $}
1719
{% endif %}
1820

1921
{% if method.this %}
@@ -22,7 +24,7 @@ <h4>Property's {% code %}this{% endcode %}</h4>
2224
{% endif %}
2325

2426
{% if property.returns %}
25-
{$ returnTable(property.returns) $}
27+
{$ macros.returnTable(property.returns) $}
2628
{% endif %}
2729

2830
</div>
Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
1+
{% import "./macros.html" as macros %}
2+
13
{% if doc.returns -%}
24
<div class="api-param-table">
3-
{$ returnTable(doc.returns) $}
5+
{$ macros.returnTable(doc.returns) $}
46
</div>
57
{%- endif %}

0 commit comments

Comments
 (0)