Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Code blocks to support file titles #34

Open
sivakumar-kailasam opened this issue Aug 16, 2017 · 1 comment
Open

Code blocks to support file titles #34

sivakumar-kailasam opened this issue Aug 16, 2017 · 1 comment

Comments

@sivakumar-kailasam
Copy link
Member

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.

@DanaKirsh
Copy link

DanaKirsh commented Apr 26, 2022

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

  1. in this file there are multiple occurrences of app/templates/components/person-profile.hbs
    showing as profile.hbs here

  2. in this file there's app/templates/components/live-updating-chart.hbs
    showing as just chart.hbs here

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants