Skip to content

Commit

Permalink
Merge pull request #124 from IgniteUI/hPopov/add-dv-envVar
Browse files Browse the repository at this point in the history
Add variable in each env for dv samples
  • Loading branch information
zdrawku authored Aug 28, 2019
2 parents 722110b + d079fcd commit 75ea6d4
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -7,20 +7,23 @@
"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",
"GTMContainerId": "GTM-WLXLBZD"
},
"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",
"GTMContainerId": "GTM-NCKNPN"
},
"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",
Expand All @@ -30,20 +33,23 @@
"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",
"GTMContainerId": "GTM-NNHVMC7"
},
"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",
"GTMContainerId": "GTM-WLWSDK"
},
"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",
Expand All @@ -53,20 +59,23 @@
"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",
"GTMContainerId": "GTM-WLXLBZD"
},
"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",
"GTMContainerId": "GTM-NCKNPN"
},
"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",
Expand Down
2 changes: 1 addition & 1 deletion template/layout/_master.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ full license information.}} {{!include(/^styles/.*/)}} {{!include(/^fonts/.*/)}}
<html lang="{{_appLang}}">
{{>partials/head}}

<body data-spy="scroll" data-target="#affix" data-nav-base-url="{environment:infragisticsBaseUrl}" data-demos-base-url="{environment:demosBaseUrl}"
<body data-spy="scroll" data-target="#affix" data-nav-base-url="{environment:infragisticsBaseUrl}" data-demos-base-url="{{_demosBaseUrlVar}}"
data-lang="{{_language}}" data-theme="{{_productThemeName}}" data-docfx-rel="{{_rel}}" data-timestamp="{{_timestamp}}">
<!-- Google Tag Manager (noscript) -->
<noscript>
Expand Down

0 comments on commit 75ea6d4

Please sign in to comment.