Skip to content

Commit dc38525

Browse files
authored
Merge pull request #2552 from miragejs/docs-links
Use markdown links format
2 parents a1f12af + d434f98 commit dc38525

4 files changed

Lines changed: 5 additions & 5 deletions

File tree

packages/ember-cli-mirage-docs/app/templates/docs/data-layer/database.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,6 @@ test('I can create a movie', async function(assert) {
5757
});
5858
```
5959

60-
You can view the rest of the Database APIs in the <a href="https://miragejs.com/api/classes/db/">Db</a> and <a href="https://miragejs.com/api/classes/db-collection/">DbCollection</a> API reference.
60+
You can view the rest of the Database APIs in the [Db](https://miragejs.com/api/classes/db/) and [DbCollection](https://miragejs.com/api/classes/db-collection/) API reference.
6161

6262
Next, we'll learn about Mirage's ORM.

packages/ember-cli-mirage-docs/app/templates/docs/data-layer/models.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ schema.blogPosts.where({ isPublished: true });
7979
schema.blogPosts.findBy({ title: 'Introduction' });
8080
```
8181

82-
Check out the <a href="https://miragejs.com/api/classes/schema/">Schema API docs</a> to see all available query methods.
82+
Check out the [Schema API docs](https://miragejs.com/api/classes/schema/) to see all available query methods.
8383

8484

8585
## Updating and deleting models
@@ -102,7 +102,7 @@ let post = schema.blogPosts.find(2);
102102
post.destroy();
103103
```
104104

105-
View the <a href="https://miragejs.com/api/classes/model/">Model API docs</a> to see all the available fields and methods for model instances.
105+
View the [Model API docs](https://miragejs.com/api/classes/model/) to see all the available fields and methods for model instances.
106106

107107
---
108108

packages/ember-cli-mirage-docs/app/templates/docs/data-layer/relationships.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -206,7 +206,7 @@ user.thingIds = [ { id: 2, type: 'watch' }, ... ];
206206

207207
---
208208

209-
Be sure to check out the <a href="https://miragejs.com/api/classes/schema/">Schema</a>, <a href="https://miragejs.com/api/classes/model/">Model</a> and <a href="https://miragejs.com/api/classes/collection/">Collection</a> API docs to learn about all the available ORM methods.
209+
Be sure to check out the [Schema](https://miragejs.com/api/classes/schema/), [Model](https://miragejs.com/api/classes/model/) and [Collection](https://miragejs.com/api/classes/collection/) API docs to learn about all the available ORM methods.
210210

211211
We'll also cover Serializers in these guides, where you'll learn how to customize the serialized forms of your models and collections to match your production API.
212212

packages/ember-cli-mirage-docs/app/templates/docs/data-layer/serializers/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -250,6 +250,6 @@ In general, you should not need to write much code dealing with Mirage serialize
250250

251251
The more conventional your backend API is, the less code you'll need to write – not only in Mirage, but also in other parts of your Ember application!
252252

253-
Be sure to check out the <a href="https://miragejs.com/api/classes/serializer/#key-for-attribute">Serializer</a> and <a href="https://miragejs.com/api/classes/jsonapi-serializer/">JSONAPISerializer</a> docs to learn about all the hooks available to customize your serializer layer.
253+
Be sure to check out the [Serializer](https://miragejs.com/api/classes/serializer/#key-for-attribute) and [JSONAPISerializer](https://miragejs.com/api/classes/jsonapi-serializer/) docs to learn about all the hooks available to customize your serializer layer.
254254

255255
Now that we've covered the ins and outs of Mirage's data layer, we're ready to see how we can use Mirage to effectively test our Ember application.

0 commit comments

Comments
 (0)