From e02d09678d63ebf11c3a337653b3c68cb8513318 Mon Sep 17 00:00:00 2001 From: HristoP96 Date: Wed, 28 Aug 2019 11:29:24 +0300 Subject: [PATCH 1/2] Add variable in each env for dv samples --- .../PostProcessors/EnvironmentVariables/preconfig.json | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/post-processors/PostProcessors/EnvironmentVariables/preconfig.json b/post-processors/PostProcessors/EnvironmentVariables/preconfig.json index 8bb12620..cf36a749 100644 --- a/post-processors/PostProcessors/EnvironmentVariables/preconfig.json +++ b/post-processors/PostProcessors/EnvironmentVariables/preconfig.json @@ -7,6 +7,7 @@ "en": { "development": { "demosBaseUrl": "http://localhost:4200", + "dvDemosBaseUrl": "http://localhost:4200", "infragisticsBaseUrl": "https://staging.infragistics.com", "angularApiUrl": "https://staging.infragistics.com/products/ignite-ui-angular/docs/typescript/latest", "sassApiUrl": "https://staging.infragistics.com/products/ignite-ui-angular/docs/sass/latest", @@ -14,6 +15,7 @@ }, "staging": { "demosBaseUrl": "https://staging.infragistics.com/angular-demos", + "dvDemosBaseUrl": "https://staging.infragistics.com/angular-demos-dv", "infragisticsBaseUrl": "https://staging.infragistics.com", "angularApiUrl": "https://staging.infragistics.com/products/ignite-ui-angular/docs/typescript/latest", "sassApiUrl": "https://staging.infragistics.com/products/ignite-ui-angular/docs/sass/latest", @@ -21,6 +23,7 @@ }, "production": { "demosBaseUrl": "https://www.infragistics.com/angular-demos", + "dvDemosBaseUrl": "https://www.infragistics.com/angular-demos-dv", "infragisticsBaseUrl": "https://www.infragistics.com", "angularApiUrl": "https://www.infragistics.com/products/ignite-ui-angular/docs/typescript/latest", "sassApiUrl": "https://www.infragistics.com/products/ignite-ui-angular/docs/sass/latest", @@ -30,6 +33,7 @@ "jp": { "development": { "demosBaseUrl": "http://localhost:4200", + "dvDemosBaseUrl": "http://localhost:4200", "infragisticsBaseUrl": "https://jp.staging.infragistics.com", "angularApiUrl": "https://jp.staging.infragistics.com/products/ignite-ui-angular/docs/typescript/latest", "sassApiUrl": "https://jp.staging.infragistics.com/products/ignite-ui-angular/docs/sass/latest", @@ -37,6 +41,7 @@ }, "staging": { "demosBaseUrl": "https://jp.staging.infragistics.com/angular-demos", + "dvDemosBaseUrl": "https://jp.staging.infragistics.com/angular-demos-dv", "infragisticsBaseUrl": "https://jp.staging.infragistics.com", "angularApiUrl": "https://jp.staging.infragistics.com/products/ignite-ui-angular/docs/typescript/latest", "sassApiUrl": "https://jp.staging.infragistics.com/products/ignite-ui-angular/docs/sass/latest", @@ -44,6 +49,7 @@ }, "production": { "demosBaseUrl": "https://jp.infragistics.com/angular-demos", + "dvDemosBaseUrl": "https://jp.infragistics.com/angular-demos-dv", "infragisticsBaseUrl": "https://jp.infragistics.com", "angularApiUrl": "https://jp.infragistics.com/products/ignite-ui-angular/docs/typescript/latest", "sassApiUrl": "https://jp.infragistics.com/products/ignite-ui-angular/docs/sass/latest", @@ -53,6 +59,7 @@ "kr": { "development": { "demosBaseUrl": "http://localhost:4200", + "dvDemosBaseUrl": "http://localhost:4200", "infragisticsBaseUrl": "https://kr.staging.infragistics.com", "angularApiUrl": "https://staging.infragistics.com/products/ignite-ui-angular/docs/typescript/latest", "sassApiUrl": "https://staging.infragistics.com/products/ignite-ui-angular/docs/sass/latest", @@ -60,6 +67,7 @@ }, "staging": { "demosBaseUrl": "https://kr.staging.infragistics.com/angular-demos", + "dvDemosBaseUrl": "https://kr.staging.infragistics.com/angular-demos-dv", "infragisticsBaseUrl": "https://kr.staging.infragistics.com", "angularApiUrl": "https://staging.infragistics.com/products/ignite-ui-angular/docs/typescript/latest", "sassApiUrl": "https://staging.infragistics.com/products/ignite-ui-angular/docs/sass/latest", @@ -67,6 +75,7 @@ }, "production": { "demosBaseUrl": "https://kr.infragistics.com/angular-demos", + "dvDemosBaseUrl": "https://kr.infragistics.com/angular-demos-dv", "infragisticsBaseUrl": "https://kr.infragistics.com", "angularApiUrl": "https://www.infragistics.com/products/ignite-ui-angular/docs/typescript/latest", "sassApiUrl": "https://www.infragistics.com/products/ignite-ui-angular/docs/sass/latest", From d079fcd78a0d827de9f6e10438beca082e591f78 Mon Sep 17 00:00:00 2001 From: HristoP96 Date: Wed, 28 Aug 2019 14:36:50 +0300 Subject: [PATCH 2/2] add template for the demos base url var --- template/layout/_master.tmpl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/template/layout/_master.tmpl b/template/layout/_master.tmpl index 543d5c7f..7d24c491 100644 --- a/template/layout/_master.tmpl +++ b/template/layout/_master.tmpl @@ -6,7 +6,7 @@ full license information.}} {{!include(/^styles/.*/)}} {{!include(/^fonts/.*/)}} {{>partials/head}} -