IgniteUI / igniteui-docfx-template

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Different file structure for angular dv examples

dobromirts opened this issue · comments

Currently the template is requesting the sample json file from pattern:
'http://localhost:4200/assets/code-viewer/category-chart/column-chart-single-source.json'
The structure for these files in https://github.com/IgniteUI/igniteui-angular-examples is now different and for local host should be
'http://localhost:4200/assets/code-viewer/charts/category-chart/column-chart-single-source.json'
On the other hand the dist folder (hosted version) has different structure as well and the pattern for it should be '...assets/code-viewer/category-chart-annotations-crosshairs.json'

Local structure:
local

Dist structure:
dist

I fixed this issue in Angular DV samples with this commit. Now code-viewer files in \src\assets folder and dist folder will be the same:

/assets/code-viewer/component-name/sample-name.json
e.g.
/assets/code-viewer/bullet-graph/animation.json

instead of
/assets/code-viewer/GAUGE/bullet-graph/animation.json

image