Open sivakumar-kailasam opened 7 years ago
the ember.js guides support defining a file name with its path as in https://github.com/emberjs/ember.js/blob/04ac480e923ab7f345e30b7aad683bea2ffb7193/packages/ember-glimmer/lib/component.js#L72 and this file path shows up in the code block's title. The API docs fails to do this because the html generated by this tool doesn't support it. We need to add support for the same.
Currently when the hbs file path is made of multiple words with hyphens, like foo/bar-baz.hbs, it only shows as baz.hbs. Examples
foo/bar-baz.hbs
baz.hbs
in this file there are multiple occurrences of app/templates/components/person-profile.hbs showing as profile.hbs here
app/templates/components/person-profile.hbs
profile.hbs
in this file there's app/templates/components/live-updating-chart.hbs showing as just chart.hbs here
app/templates/components/live-updating-chart.hbs
chart.hbs
the ember.js guides support defining a file name with its path as in https://github.com/emberjs/ember.js/blob/04ac480e923ab7f345e30b7aad683bea2ffb7193/packages/ember-glimmer/lib/component.js#L72 and this file path shows up in the code block's title. The API docs fails to do this because the html generated by this tool doesn't support it. We need to add support for the same.