ember-learn / ember-learn/ember-cli-addon-docs

Possibility to link to a page anchor with {{docs-link}}

Open
#202 5 comments 3 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
172
Forks
142
PR merge metrics
No merged PRs in 30d

Description

It would be convenient if it was possible to link directly into an anchor in the api references using {{docs-link}}.

Maybe using a syntax like:
```handlebars
{{docs-link 'buttonType' 'docs.api.item' 'components/button' anchor='buttonType'}}
```
or even directly using
```handlebars
{{docs-link 'buttonType' 'docs.api.item' 'components/button#buttonType'}}
```
if that is even possible.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.