Skip to content

Commit

Permalink
Use angle bracket syntax for <DocsLink>
Browse files Browse the repository at this point in the history
  • Loading branch information
SergeAstapov committed Apr 22, 2022
1 parent 52ac606 commit ae45445
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 4 deletions.
2 changes: 1 addition & 1 deletion docs/app/templates/docs/beacons.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
## Beacons
See {{docs-link 'animated-beacon' 'docs.api.item' 'components/animated-beacon'}}.
See <DocsLink @route="docs.api.item" @model="components/animated-beacon">`<AnimatedBeacon/>`</DocsLink>.

In this example, emails animate between Refresh (mail icon), Trash, and the Inbox. When an email gets deleted, it is a `removedSprite`. If you refresh your inbox, the new email added is an `insertedSprite`. Both the refresh button and the trash button are beacons.

Expand Down
2 changes: 1 addition & 1 deletion docs/app/templates/docs/sprites.md
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,6 @@ Finally, whenever a message is added or deleted, the remaining emails in the inb



The last two categories of sprites, `sentSprites` and `receivedSprites`, are covered in {{docs-link 'Animating between components' 'docs.between'}}.
The last two categories of sprites, `sentSprites` and `receivedSprites`, are covered in <DocsLink @route="docs.between">Animating between components</DocsLink>.

For now, read on to learn all about Transitions.
1 change: 0 additions & 1 deletion docs/config/addon-docs.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
/* eslint-env node */
'use strict';

const AddonDocsConfig = require('ember-cli-addon-docs/lib/config');
Expand Down
1 change: 0 additions & 1 deletion docs/config/deploy.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
/* eslint-env node */
'use strict';

module.exports = function (deployTarget) {
Expand Down

0 comments on commit ae45445

Please # to comment.