Skip to content

Commit 9dc003e

Browse files
author
Chris Cho
committed
update toc title and sample code wording
1 parent b82c2ee commit 9dc003e

File tree

2 files changed

+11
-11
lines changed

2 files changed

+11
-11
lines changed

docs/eloquent-models.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,6 @@ This section contains guidance on how to use Eloquent models in
2424

2525
.. toctree::
2626

27-
/eloquent-models/relationships
27+
:doc:`Relationships </eloquent-models/relationships>`
2828

2929

docs/eloquent-models/relationships.txt

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -79,8 +79,8 @@ as shown in the following example class:
7979
:dedent:
8080

8181
The following sample code shows how to instantiate a model for each class
82-
and add the relationship between them. Click the :guilabel:`View Output` button to
83-
see sample MongoDB documents created by running the code:
82+
and add the relationship between them. Click the :guilabel:`View Output`
83+
button to see the data created by running the code:
8484

8585
.. io-code-block::
8686

@@ -163,8 +163,8 @@ example class:
163163
:dedent:
164164

165165
The following sample code shows how ton instantiate a model for each class
166-
and add the relationship between them. Click the :guilabel:`View Output` button to
167-
see sample MongoDB documents created by running the code:
166+
and add the relationship between them. Click the :guilabel:`View Output`
167+
button to see the data created by running the code:
168168

169169
.. io-code-block::
170170

@@ -262,8 +262,8 @@ relationship with ``Planet`` as shown in the following example class:
262262
:dedent:
263263

264264
The following sample code shows how to instantiate a model for each class
265-
and add the relationship between them. Click the :guilabel:`View Output` button to
266-
see sample MongoDB documents created by running the code:
265+
and add the relationship between them. Click the :guilabel:`View Output`
266+
button to see the data created by running the code:
267267

268268
.. io-code-block::
269269

@@ -393,8 +393,8 @@ following example class:
393393

394394
The following sample code shows how to create a ``SpaceShip`` model and
395395
embed multiple ``Cargo`` models and the MongoDB document created by running the
396-
code. Click the :guilabel:`View Output` button to see sample MongoDB documents
397-
created by running the code:
396+
code. Click the :guilabel:`View Output` button to see the data created by
397+
running the code:
398398

399399
.. io-code-block::
400400

@@ -473,8 +473,8 @@ The ``Passenger`` model defines a ``BelongsToMany`` relationship with
473473

474474
The following sample code shows how to create a ``SpaceShip`` model in
475475
a MySQL database and related ``Passenger`` models in a MongoDB database and
476-
the data created by running the code. Click the :guilabel:`View Output` button to
477-
see sample MongoDB documents created by running the code:
476+
the data created by running the code. Click the :guilabel:`View Output` button
477+
to see the data created by running the code:
478478

479479
.. io-code-block::
480480

0 commit comments

Comments
 (0)