Skip to content

Commit

Permalink
Merge pull request #459 from ember-animation/fix-docs-link
Browse files Browse the repository at this point in the history
Use angle bracket syntax for `<DocsLink>`
  • Loading branch information
SergeAstapov authored Apr 22, 2022
2 parents 52ac606 + ae45445 commit 74e0499
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 74e0499

Please # to comment.