Skip to content

Conversation

@alexmaingot-sf
Copy link
Contributor

@alexmaingot-sf alexmaingot-sf commented Jun 10, 2019

When working in an addon with a scoped package name (eg: @scope-name/package-name), the "API REFERENCE", "Components" navigation section is incorrectly generated (it shows Class Name). The expected outcome is {{component-name}}.

The link generated is also messed up:
Expected: https://user-or-org.github.io/repo-name/docs/api/components/component-name
Actual: https://user-or-org.github.io/repo-name/docs/api/modules/@scope-name/package-name/components/component-name~Class%20Name

This is because of how ember-addon-docs assumes the root of the package.

Fixes #374

@RobbieTheWagner RobbieTheWagner merged commit 58d9939 into ember-learn:master Jul 31, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

API nav incorrectly generated in scoped package

2 participants