diff --git a/public/docs/_examples/_boilerplate/plunker.README.md b/public/docs/_examples/_boilerplate/plunker.README.md
deleted file mode 100644
index fa2e46f47a..0000000000
--- a/public/docs/_examples/_boilerplate/plunker.README.md
+++ /dev/null
@@ -1,2 +0,0 @@
-### Angular Documentation Example
-
diff --git a/public/docs/_examples/animations/ts/index.html b/public/docs/_examples/animations/ts/index.html
index 76a7b93356..8188d14709 100644
--- a/public/docs/_examples/animations/ts/index.html
+++ b/public/docs/_examples/animations/ts/index.html
@@ -9,7 +9,7 @@
-
+
diff --git a/public/docs/_examples/architecture/ts/index.html b/public/docs/_examples/architecture/ts/index.html
index 090bd17c7b..d22ff7f6e4 100644
--- a/public/docs/_examples/architecture/ts/index.html
+++ b/public/docs/_examples/architecture/ts/index.html
@@ -6,7 +6,7 @@
-
+
diff --git a/public/docs/_examples/architecture/ts/mini-app.html b/public/docs/_examples/architecture/ts/mini-app.html
deleted file mode 100644
index ecb7dd21ae..0000000000
--- a/public/docs/_examples/architecture/ts/mini-app.html
+++ /dev/null
@@ -1,26 +0,0 @@
-
-
-
- Architecture of Angular
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Loading...
-
-
-
diff --git a/public/docs/_examples/attribute-directives/ts/index.html b/public/docs/_examples/attribute-directives/ts/index.html
index 197f1a8280..f3b37e823a 100644
--- a/public/docs/_examples/attribute-directives/ts/index.html
+++ b/public/docs/_examples/attribute-directives/ts/index.html
@@ -7,7 +7,7 @@
-
+
diff --git a/public/docs/_examples/cb-a1-a2-quick-reference/ts/index.html b/public/docs/_examples/cb-a1-a2-quick-reference/ts/index.html
index ee2eb6fdec..75e16b476c 100644
--- a/public/docs/_examples/cb-a1-a2-quick-reference/ts/index.html
+++ b/public/docs/_examples/cb-a1-a2-quick-reference/ts/index.html
@@ -9,7 +9,7 @@
-
+
diff --git a/public/docs/_examples/cb-component-communication/ts/index.html b/public/docs/_examples/cb-component-communication/ts/index.html
index 4afa076c19..d4c62ed916 100644
--- a/public/docs/_examples/cb-component-communication/ts/index.html
+++ b/public/docs/_examples/cb-component-communication/ts/index.html
@@ -9,7 +9,7 @@
-
+
diff --git a/public/docs/_examples/cb-component-relative-paths/ts/index.html b/public/docs/_examples/cb-component-relative-paths/ts/index.html
index cc0d972df2..3a5c532b82 100644
--- a/public/docs/_examples/cb-component-relative-paths/ts/index.html
+++ b/public/docs/_examples/cb-component-relative-paths/ts/index.html
@@ -13,7 +13,7 @@
-
+
diff --git a/public/docs/_examples/cb-dependency-injection/ts/index.html b/public/docs/_examples/cb-dependency-injection/ts/index.html
index ba1d2761e1..c978778d09 100644
--- a/public/docs/_examples/cb-dependency-injection/ts/index.html
+++ b/public/docs/_examples/cb-dependency-injection/ts/index.html
@@ -10,7 +10,7 @@
-
+
diff --git a/public/docs/_examples/cb-dynamic-form/ts/index.html b/public/docs/_examples/cb-dynamic-form/ts/index.html
index ec3e1cbbb2..23d56ae14f 100644
--- a/public/docs/_examples/cb-dynamic-form/ts/index.html
+++ b/public/docs/_examples/cb-dynamic-form/ts/index.html
@@ -10,7 +10,7 @@
-
+
diff --git a/public/docs/_examples/cb-form-validation/ts/index.html b/public/docs/_examples/cb-form-validation/ts/index.html
index 8fc614fe0f..54ad9c69ab 100644
--- a/public/docs/_examples/cb-form-validation/ts/index.html
+++ b/public/docs/_examples/cb-form-validation/ts/index.html
@@ -9,7 +9,7 @@
-
+
diff --git a/public/docs/_examples/cb-set-document-title/ts/index.html b/public/docs/_examples/cb-set-document-title/ts/index.html
index 8f1ad96812..0543070fbd 100644
--- a/public/docs/_examples/cb-set-document-title/ts/index.html
+++ b/public/docs/_examples/cb-set-document-title/ts/index.html
@@ -14,7 +14,7 @@
-
+
diff --git a/public/docs/_examples/cb-ts-to-js/ts/index.html b/public/docs/_examples/cb-ts-to-js/ts/index.html
index 005fe67c31..c635706f38 100644
--- a/public/docs/_examples/cb-ts-to-js/ts/index.html
+++ b/public/docs/_examples/cb-ts-to-js/ts/index.html
@@ -6,7 +6,7 @@
-
+
diff --git a/public/docs/_examples/component-styles/ts/index.html b/public/docs/_examples/component-styles/ts/index.html
index 9345f5b221..115e5b9299 100644
--- a/public/docs/_examples/component-styles/ts/index.html
+++ b/public/docs/_examples/component-styles/ts/index.html
@@ -6,7 +6,7 @@
-
+
diff --git a/public/docs/_examples/dependency-injection/ts/index.html b/public/docs/_examples/dependency-injection/ts/index.html
index ce65fac8b7..b7ef513c19 100644
--- a/public/docs/_examples/dependency-injection/ts/index.html
+++ b/public/docs/_examples/dependency-injection/ts/index.html
@@ -7,7 +7,7 @@
-
+
diff --git a/public/docs/_examples/displaying-data/ts/index.html b/public/docs/_examples/displaying-data/ts/index.html
index d9e9291661..e18da1b26e 100644
--- a/public/docs/_examples/displaying-data/ts/index.html
+++ b/public/docs/_examples/displaying-data/ts/index.html
@@ -6,7 +6,7 @@
-
+
diff --git a/public/docs/_examples/forms/ts/index.html b/public/docs/_examples/forms/ts/index.html
index 50f8747546..984ddae1e0 100644
--- a/public/docs/_examples/forms/ts/index.html
+++ b/public/docs/_examples/forms/ts/index.html
@@ -15,7 +15,7 @@
-
+
diff --git a/public/docs/_examples/hierarchical-dependency-injection/ts/index.html b/public/docs/_examples/hierarchical-dependency-injection/ts/index.html
index 91d2dc8894..c13e9243aa 100644
--- a/public/docs/_examples/hierarchical-dependency-injection/ts/index.html
+++ b/public/docs/_examples/hierarchical-dependency-injection/ts/index.html
@@ -6,7 +6,7 @@
-
+
diff --git a/public/docs/_examples/homepage-hello-world/ts/index.1.html b/public/docs/_examples/homepage-hello-world/ts/index.1.html
index 7ea19e1842..e84cfb5de7 100644
--- a/public/docs/_examples/homepage-hello-world/ts/index.1.html
+++ b/public/docs/_examples/homepage-hello-world/ts/index.1.html
@@ -8,7 +8,7 @@
-
+
diff --git a/public/docs/_examples/homepage-hello-world/ts/index.html b/public/docs/_examples/homepage-hello-world/ts/index.html
index 283343ace7..7d5395fb0f 100644
--- a/public/docs/_examples/homepage-hello-world/ts/index.html
+++ b/public/docs/_examples/homepage-hello-world/ts/index.html
@@ -7,7 +7,7 @@
-
+
diff --git a/public/docs/_examples/homepage-tabs/ts/index.1.html b/public/docs/_examples/homepage-tabs/ts/index.1.html
index 5ca7d182a6..dbf14c628a 100644
--- a/public/docs/_examples/homepage-tabs/ts/index.1.html
+++ b/public/docs/_examples/homepage-tabs/ts/index.1.html
@@ -9,7 +9,7 @@
-
+
diff --git a/public/docs/_examples/homepage-tabs/ts/index.html b/public/docs/_examples/homepage-tabs/ts/index.html
index d047702a13..ccc8fcdda3 100644
--- a/public/docs/_examples/homepage-tabs/ts/index.html
+++ b/public/docs/_examples/homepage-tabs/ts/index.html
@@ -8,7 +8,7 @@
-
+
diff --git a/public/docs/_examples/homepage-todo/ts/index.1.html b/public/docs/_examples/homepage-todo/ts/index.1.html
index 4ac9552d89..ae0eef860b 100644
--- a/public/docs/_examples/homepage-todo/ts/index.1.html
+++ b/public/docs/_examples/homepage-todo/ts/index.1.html
@@ -9,7 +9,7 @@
-
+
diff --git a/public/docs/_examples/homepage-todo/ts/index.html b/public/docs/_examples/homepage-todo/ts/index.html
index 6bed22fce1..de82c12ddd 100644
--- a/public/docs/_examples/homepage-todo/ts/index.html
+++ b/public/docs/_examples/homepage-todo/ts/index.html
@@ -8,7 +8,7 @@
-
+
diff --git a/public/docs/_examples/lifecycle-hooks/ts/index.html b/public/docs/_examples/lifecycle-hooks/ts/index.html
index 07cf7d4a03..4da8212d42 100644
--- a/public/docs/_examples/lifecycle-hooks/ts/index.html
+++ b/public/docs/_examples/lifecycle-hooks/ts/index.html
@@ -8,7 +8,7 @@
-
+
diff --git a/public/docs/_examples/ngmodule/ts/index.0.html b/public/docs/_examples/ngmodule/ts/index.0.html
index 7deb1e2a5f..4ad8c4fc18 100644
--- a/public/docs/_examples/ngmodule/ts/index.0.html
+++ b/public/docs/_examples/ngmodule/ts/index.0.html
@@ -7,7 +7,7 @@
-
+
diff --git a/public/docs/_examples/ngmodule/ts/index.1.html b/public/docs/_examples/ngmodule/ts/index.1.html
index d48478f297..c004c4ed1f 100644
--- a/public/docs/_examples/ngmodule/ts/index.1.html
+++ b/public/docs/_examples/ngmodule/ts/index.1.html
@@ -7,7 +7,7 @@
-
+
diff --git a/public/docs/_examples/ngmodule/ts/index.1b.html b/public/docs/_examples/ngmodule/ts/index.1b.html
index 238724c32d..a681333223 100644
--- a/public/docs/_examples/ngmodule/ts/index.1b.html
+++ b/public/docs/_examples/ngmodule/ts/index.1b.html
@@ -7,7 +7,7 @@
-
+
diff --git a/public/docs/_examples/ngmodule/ts/index.2.html b/public/docs/_examples/ngmodule/ts/index.2.html
index 4bc7a6446b..8294f17a7d 100644
--- a/public/docs/_examples/ngmodule/ts/index.2.html
+++ b/public/docs/_examples/ngmodule/ts/index.2.html
@@ -7,7 +7,7 @@
-
+
diff --git a/public/docs/_examples/ngmodule/ts/index.3.html b/public/docs/_examples/ngmodule/ts/index.3.html
index 15252ded0b..20b639998b 100644
--- a/public/docs/_examples/ngmodule/ts/index.3.html
+++ b/public/docs/_examples/ngmodule/ts/index.3.html
@@ -7,7 +7,7 @@
-
+
diff --git a/public/docs/_examples/ngmodule/ts/index.html b/public/docs/_examples/ngmodule/ts/index.html
index 15db0b5a79..c5a48c2092 100644
--- a/public/docs/_examples/ngmodule/ts/index.html
+++ b/public/docs/_examples/ngmodule/ts/index.html
@@ -7,7 +7,7 @@
-
+
diff --git a/public/docs/_examples/pipes/ts/index.html b/public/docs/_examples/pipes/ts/index.html
index 0b1a46f328..57b188648d 100644
--- a/public/docs/_examples/pipes/ts/index.html
+++ b/public/docs/_examples/pipes/ts/index.html
@@ -6,7 +6,7 @@
-
+
diff --git a/public/docs/_examples/quickstart/ts/index.html b/public/docs/_examples/quickstart/ts/index.html
index 4ee082433c..b7d82ca7c8 100644
--- a/public/docs/_examples/quickstart/ts/index.html
+++ b/public/docs/_examples/quickstart/ts/index.html
@@ -10,7 +10,7 @@
-
+
diff --git a/public/docs/_examples/router/ts/index.1.html b/public/docs/_examples/router/ts/index.1.html
index dbf32ae565..427becd129 100644
--- a/public/docs/_examples/router/ts/index.1.html
+++ b/public/docs/_examples/router/ts/index.1.html
@@ -10,7 +10,7 @@
-
+
diff --git a/public/docs/_examples/router/ts/index.html b/public/docs/_examples/router/ts/index.html
index abcbea6c31..1195b38267 100644
--- a/public/docs/_examples/router/ts/index.html
+++ b/public/docs/_examples/router/ts/index.html
@@ -9,7 +9,7 @@
-
+
diff --git a/public/docs/_examples/security/ts/index.html b/public/docs/_examples/security/ts/index.html
index 16eeeb2b2a..936c716eff 100644
--- a/public/docs/_examples/security/ts/index.html
+++ b/public/docs/_examples/security/ts/index.html
@@ -7,7 +7,7 @@
-
+
diff --git a/public/docs/_examples/server-communication/ts/index.html b/public/docs/_examples/server-communication/ts/index.html
index 6b99fc5242..84bb0d53fa 100644
--- a/public/docs/_examples/server-communication/ts/index.html
+++ b/public/docs/_examples/server-communication/ts/index.html
@@ -7,7 +7,7 @@
-
+
diff --git a/public/docs/_examples/structural-directives/ts/index.html b/public/docs/_examples/structural-directives/ts/index.html
index 2dc2548cc4..15dbbd7652 100644
--- a/public/docs/_examples/structural-directives/ts/index.html
+++ b/public/docs/_examples/structural-directives/ts/index.html
@@ -7,7 +7,7 @@
-
+
diff --git a/public/docs/_examples/style-guide/ts/index.html b/public/docs/_examples/style-guide/ts/index.html
index 44a280de44..b71cd55c69 100644
--- a/public/docs/_examples/style-guide/ts/index.html
+++ b/public/docs/_examples/style-guide/ts/index.html
@@ -9,7 +9,7 @@
-
+
diff --git a/public/docs/_examples/styleguide/ts/index.html b/public/docs/_examples/styleguide/ts/index.html
index 5983457e07..8f1330fe94 100644
--- a/public/docs/_examples/styleguide/ts/index.html
+++ b/public/docs/_examples/styleguide/ts/index.html
@@ -7,7 +7,7 @@
-
+
diff --git a/public/docs/_examples/template-syntax/ts/index.html b/public/docs/_examples/template-syntax/ts/index.html
index d3a4ec6aa6..e67e1871fd 100644
--- a/public/docs/_examples/template-syntax/ts/index.html
+++ b/public/docs/_examples/template-syntax/ts/index.html
@@ -7,7 +7,7 @@
-
+
diff --git a/public/docs/_examples/testing/ts/1st-specs.plnkr.json b/public/docs/_examples/testing/ts/1st-specs.plnkr.json
index 945ec90060..1d4dd58afa 100644
--- a/public/docs/_examples/testing/ts/1st-specs.plnkr.json
+++ b/public/docs/_examples/testing/ts/1st-specs.plnkr.json
@@ -8,5 +8,6 @@
"1st-specs.html"
],
"main": "1st-specs.html",
- "tags": ["testing"]
+ "tags": ["testing"],
+ "includeSystemConfig": true
}
diff --git a/public/docs/_examples/testing/ts/app-specs.plnkr.json b/public/docs/_examples/testing/ts/app-specs.plnkr.json
index afd126bb45..18dd58dec9 100644
--- a/public/docs/_examples/testing/ts/app-specs.plnkr.json
+++ b/public/docs/_examples/testing/ts/app-specs.plnkr.json
@@ -19,5 +19,6 @@
"app-specs.html"
],
"main": "app-specs.html",
- "tags": ["testing"]
+ "tags": ["testing"],
+ "includeSystemConfig": true
}
diff --git a/public/docs/_examples/testing/ts/bag-specs.plnkr.json b/public/docs/_examples/testing/ts/bag-specs.plnkr.json
index 89d86da28a..b176c00cc5 100644
--- a/public/docs/_examples/testing/ts/bag-specs.plnkr.json
+++ b/public/docs/_examples/testing/ts/bag-specs.plnkr.json
@@ -16,5 +16,6 @@
"bag-specs.html"
],
"main": "bag-specs.html",
- "tags": ["testing"]
+ "tags": ["testing"],
+ "includeSystemConfig": true
}
diff --git a/public/docs/_examples/testing/ts/bag.html b/public/docs/_examples/testing/ts/bag.html
index 35ff270025..d62d837f47 100644
--- a/public/docs/_examples/testing/ts/bag.html
+++ b/public/docs/_examples/testing/ts/bag.html
@@ -8,7 +8,7 @@
-
+
diff --git a/public/docs/_examples/testing/ts/index.html b/public/docs/_examples/testing/ts/index.html
index b50b69ec18..019b2319bf 100644
--- a/public/docs/_examples/testing/ts/index.html
+++ b/public/docs/_examples/testing/ts/index.html
@@ -8,7 +8,7 @@
-
+
diff --git a/public/docs/_examples/toh-1/ts/index.html b/public/docs/_examples/toh-1/ts/index.html
index 4445befc9a..bed95dc8fa 100644
--- a/public/docs/_examples/toh-1/ts/index.html
+++ b/public/docs/_examples/toh-1/ts/index.html
@@ -6,7 +6,7 @@
-
+
diff --git a/public/docs/_examples/toh-2/ts/index.html b/public/docs/_examples/toh-2/ts/index.html
index 4445befc9a..bed95dc8fa 100644
--- a/public/docs/_examples/toh-2/ts/index.html
+++ b/public/docs/_examples/toh-2/ts/index.html
@@ -6,7 +6,7 @@
-
+
diff --git a/public/docs/_examples/toh-3/ts/index.html b/public/docs/_examples/toh-3/ts/index.html
index 4445befc9a..bed95dc8fa 100644
--- a/public/docs/_examples/toh-3/ts/index.html
+++ b/public/docs/_examples/toh-3/ts/index.html
@@ -6,7 +6,7 @@
-
+
diff --git a/public/docs/_examples/toh-4/ts/index.html b/public/docs/_examples/toh-4/ts/index.html
index 4445befc9a..bed95dc8fa 100644
--- a/public/docs/_examples/toh-4/ts/index.html
+++ b/public/docs/_examples/toh-4/ts/index.html
@@ -6,7 +6,7 @@
-
+
diff --git a/public/docs/_examples/toh-5/ts/index.html b/public/docs/_examples/toh-5/ts/index.html
index f8383d0c94..e23c1d9c60 100644
--- a/public/docs/_examples/toh-5/ts/index.html
+++ b/public/docs/_examples/toh-5/ts/index.html
@@ -14,7 +14,7 @@
-
+
diff --git a/public/docs/_examples/toh-6/ts/index.html b/public/docs/_examples/toh-6/ts/index.html
index 12c9ee46df..a79d7feca8 100644
--- a/public/docs/_examples/toh-6/ts/index.html
+++ b/public/docs/_examples/toh-6/ts/index.html
@@ -8,7 +8,7 @@
-
+
diff --git a/public/docs/_examples/upgrade-adapter/ts/index-1-2-hybrid-bootstrap.html b/public/docs/_examples/upgrade-adapter/ts/index-1-2-hybrid-bootstrap.html
index fc090c9eb9..593dafe854 100644
--- a/public/docs/_examples/upgrade-adapter/ts/index-1-2-hybrid-bootstrap.html
+++ b/public/docs/_examples/upgrade-adapter/ts/index-1-2-hybrid-bootstrap.html
@@ -8,7 +8,7 @@
-
+
diff --git a/public/docs/_examples/upgrade-adapter/ts/index-1-2-hybrid-shared-adapter-bootstrap.html b/public/docs/_examples/upgrade-adapter/ts/index-1-2-hybrid-shared-adapter-bootstrap.html
index 67d9b04e44..7340930c33 100644
--- a/public/docs/_examples/upgrade-adapter/ts/index-1-2-hybrid-shared-adapter-bootstrap.html
+++ b/public/docs/_examples/upgrade-adapter/ts/index-1-2-hybrid-shared-adapter-bootstrap.html
@@ -8,7 +8,7 @@
-
+
diff --git a/public/docs/_examples/upgrade-adapter/ts/index-1-to-2-projection.html b/public/docs/_examples/upgrade-adapter/ts/index-1-to-2-projection.html
index ae3f8e8a31..a779fb57ba 100644
--- a/public/docs/_examples/upgrade-adapter/ts/index-1-to-2-projection.html
+++ b/public/docs/_examples/upgrade-adapter/ts/index-1-to-2-projection.html
@@ -8,7 +8,7 @@
-
+
diff --git a/public/docs/_examples/upgrade-adapter/ts/index-1-to-2-providers.html b/public/docs/_examples/upgrade-adapter/ts/index-1-to-2-providers.html
index af1c6f4b26..281a23aeec 100644
--- a/public/docs/_examples/upgrade-adapter/ts/index-1-to-2-providers.html
+++ b/public/docs/_examples/upgrade-adapter/ts/index-1-to-2-providers.html
@@ -8,7 +8,7 @@
-
+
diff --git a/public/docs/_examples/upgrade-adapter/ts/index-2-to-1-providers.html b/public/docs/_examples/upgrade-adapter/ts/index-2-to-1-providers.html
index 778cce946c..1652b9f397 100644
--- a/public/docs/_examples/upgrade-adapter/ts/index-2-to-1-providers.html
+++ b/public/docs/_examples/upgrade-adapter/ts/index-2-to-1-providers.html
@@ -8,7 +8,7 @@
-
+
diff --git a/public/docs/_examples/upgrade-adapter/ts/index-2-to-1-transclusion.html b/public/docs/_examples/upgrade-adapter/ts/index-2-to-1-transclusion.html
index 721284383c..a40579e3be 100644
--- a/public/docs/_examples/upgrade-adapter/ts/index-2-to-1-transclusion.html
+++ b/public/docs/_examples/upgrade-adapter/ts/index-2-to-1-transclusion.html
@@ -8,7 +8,7 @@
-
+
diff --git a/public/docs/_examples/upgrade-adapter/ts/index-downgrade-io.html b/public/docs/_examples/upgrade-adapter/ts/index-downgrade-io.html
index 625c93fa35..5899dd12de 100644
--- a/public/docs/_examples/upgrade-adapter/ts/index-downgrade-io.html
+++ b/public/docs/_examples/upgrade-adapter/ts/index-downgrade-io.html
@@ -8,7 +8,7 @@
-
+
diff --git a/public/docs/_examples/upgrade-adapter/ts/index-downgrade-static.html b/public/docs/_examples/upgrade-adapter/ts/index-downgrade-static.html
index 01f920205c..44f2bfc829 100644
--- a/public/docs/_examples/upgrade-adapter/ts/index-downgrade-static.html
+++ b/public/docs/_examples/upgrade-adapter/ts/index-downgrade-static.html
@@ -8,7 +8,7 @@
-
+
diff --git a/public/docs/_examples/upgrade-adapter/ts/index-upgrade-io.html b/public/docs/_examples/upgrade-adapter/ts/index-upgrade-io.html
index 9a74866eee..7e1570dcfa 100644
--- a/public/docs/_examples/upgrade-adapter/ts/index-upgrade-io.html
+++ b/public/docs/_examples/upgrade-adapter/ts/index-upgrade-io.html
@@ -8,7 +8,7 @@
-
+
diff --git a/public/docs/_examples/upgrade-adapter/ts/index-upgrade-static.html b/public/docs/_examples/upgrade-adapter/ts/index-upgrade-static.html
index 6354c9a5dd..6083cb52a2 100644
--- a/public/docs/_examples/upgrade-adapter/ts/index-upgrade-static.html
+++ b/public/docs/_examples/upgrade-adapter/ts/index-upgrade-static.html
@@ -8,7 +8,7 @@
-
+
diff --git a/public/docs/_examples/user-input/ts/index.html b/public/docs/_examples/user-input/ts/index.html
index f72530d64f..8cc2f5a880 100644
--- a/public/docs/_examples/user-input/ts/index.html
+++ b/public/docs/_examples/user-input/ts/index.html
@@ -7,7 +7,7 @@
-
+
diff --git a/tools/plunker-builder/builder.js b/tools/plunker-builder/builder.js
index 175e69ec54..edce64b81a 100644
--- a/tools/plunker-builder/builder.js
+++ b/tools/plunker-builder/builder.js
@@ -37,21 +37,11 @@ class PlunkerBuilder {
}
_addPlunkerFiles(config, postData) {
- this._addReadme(config, postData);
if (config.basePath.indexOf('/ts') > -1) {
- // uses systemjs.config.js so add plunker version
- this.options.addField(postData, 'systemjs.config.js', this.systemjsConfig);
- }
- }
-
- _addReadme(config, postData) {
- var existingFiles = config.fileNames.map(function(file) {
- return file.substr(file.lastIndexOf('/') + 1);
- });
-
- if (existingFiles.indexOf('README.md') === -1) {
- var plunkerReadme = this.readme + config.description;
- this.options.addField(postData, 'README.md', plunkerReadme);
+ if (config.includeSystemConfig) {
+ // uses systemjs.config.js so add plunker version
+ this.options.addField(postData, 'systemjs.config.js', this.systemjsConfig);
+ }
}
}
@@ -156,7 +146,7 @@ class PlunkerBuilder {
this.options.addField(postData, relativeFileName, content);
});
- var tags = ['angular2', 'example'].concat(config.tags || []);
+ var tags = ['angular', 'example'].concat(config.tags || []);
tags.forEach(function(tag,ix) {
postData['tags[' + ix + ']'] = tag;
});
@@ -207,8 +197,6 @@ class PlunkerBuilder {
}
_getPlunkerFiles() {
- // Assume plunker version is sibling of node_modules version
- this.readme = fs.readFileSync(this.basePath + '/_boilerplate/plunker.README.md', 'utf-8');
var systemJsConfigPath = '/_boilerplate/systemjs.config.web.js';
if (this.options.build) {
systemJsConfigPath = '/_boilerplate/systemjs.config.web.build.js';
@@ -255,6 +243,7 @@ class PlunkerBuilder {
var defaultExcludes = [
'!**/app/main.ts',
+ '!**/a2docs.css',
'!**/tsconfig.json',
'!**/*plnkr.*',
'!**/package.json',
diff --git a/tools/plunker-builder/indexHtmlTranslator.js b/tools/plunker-builder/indexHtmlTranslator.js
index 85a3c8d99e..7f394e09a8 100644
--- a/tools/plunker-builder/indexHtmlTranslator.js
+++ b/tools/plunker-builder/indexHtmlTranslator.js
@@ -19,6 +19,18 @@ var _rxRules = {
from: '//',
to: ''
},
+ systemjs: {
+ from: /'
+ },
+ // Clear script like this:
+ //
+ system_strip_import_app: {
+ from: /