diff --git a/docs/eloquent-models.txt b/docs/eloquent-models.txt index 8aee6baf7..316313849 100644 --- a/docs/eloquent-models.txt +++ b/docs/eloquent-models.txt @@ -11,6 +11,12 @@ Eloquent Models .. meta:: :keywords: php framework, odm +.. toctree:: + + Eloquent Model Class + Relationships + Schema Builder + Eloquent models are part of the Laravel Eloquent object-relational mapping (ORM) framework, which lets you to work with data in a relational database by using model classes and Eloquent syntax. The {+odm-short+} extends @@ -26,9 +32,3 @@ the {+odm-short+} to work with MongoDB in the following ways: between models - :ref:`laravel-schema-builder` shows how to manage indexes on your MongoDB collections by using Laravel migrations - -.. toctree:: - - /eloquent-models/model-class/ - Relationships - Schema Builder diff --git a/docs/fundamentals.txt b/docs/fundamentals.txt index f0945ad63..db482b2b8 100644 --- a/docs/fundamentals.txt +++ b/docs/fundamentals.txt @@ -15,11 +15,11 @@ Fundamentals :titlesonly: :maxdepth: 1 - /fundamentals/connection - /fundamentals/database-collection - /fundamentals/read-operations - /fundamentals/write-operations - /fundamentals/aggregation-builder + Connections + Databases & Collections + Read Operations + Write Operations + Aggregation Builder Learn more about the following concepts related to {+odm-long+}: diff --git a/docs/fundamentals/connection.txt b/docs/fundamentals/connection.txt index 26a937323..2434448ab 100644 --- a/docs/fundamentals/connection.txt +++ b/docs/fundamentals/connection.txt @@ -13,9 +13,9 @@ Connections .. toctree:: - /fundamentals/connection/connect-to-mongodb - /fundamentals/connection/connection-options - /fundamentals/connection/tls + Connection Guide + Connection Options + Configure TLS .. contents:: On this page :local: diff --git a/docs/index.txt b/docs/index.txt index b767d4247..104a6aa77 100644 --- a/docs/index.txt +++ b/docs/index.txt @@ -13,21 +13,21 @@ :titlesonly: :maxdepth: 1 - /quick-start + Quick Start + Usage Examples Release Notes - /upgrade - /usage-examples - /fundamentals - /eloquent-models - /query-builder - /user-authentication - /cache - /queues - /transactions - /filesystems - /issues-and-help - /feature-compatibility - /compatibility + Fundamentals + Eloquent Models + Query Builder + User Authentication + Cache & Locks + Queues + Transactions + GridFS Filesystems + Issues & Help + Feature Compatibility + Compatibility + Upgrade Introduction ------------ diff --git a/docs/quick-start.txt b/docs/quick-start.txt index 39d8ba0b4..1d188ad84 100644 --- a/docs/quick-start.txt +++ b/docs/quick-start.txt @@ -17,6 +17,16 @@ Quick Start :depth: 1 :class: singlecol +.. toctree:: + + Download & Install + Create a Deployment + Create a Connection String + Configure Your Connection + View Data + Write Data + Next Steps + Overview -------- @@ -55,14 +65,3 @@ that connects to a MongoDB deployment. You can download the complete web application project by cloning the `laravel-quickstart `__ GitHub repository. - -.. toctree:: - - /quick-start/download-and-install/ - /quick-start/create-a-deployment/ - /quick-start/create-a-connection-string/ - /quick-start/configure-mongodb/ - /quick-start/view-data/ - /quick-start/write-data/ - /quick-start/next-steps/ - diff --git a/docs/usage-examples.txt b/docs/usage-examples.txt index a17fd1b70..87a87df88 100644 --- a/docs/usage-examples.txt +++ b/docs/usage-examples.txt @@ -17,6 +17,22 @@ Usage Examples :depth: 2 :class: singlecol +.. toctree:: + :titlesonly: + :maxdepth: 1 + + Find a Document + Find Multiple Documents + Insert a Document + Insert Multiple Documents + Update a Document + Update Multiple Documents + Delete a Document + Delete Multiple Documents + Count Documents + Distinct Field Values + Run a Command + Overview -------- @@ -89,19 +105,3 @@ See code examples of the following operations in this section: - :ref:`laravel-count-usage` - :ref:`laravel-distinct-usage` - :ref:`laravel-run-command-usage` - -.. toctree:: - :titlesonly: - :maxdepth: 1 - - /usage-examples/findOne - /usage-examples/find - /usage-examples/insertOne - /usage-examples/insertMany - /usage-examples/updateOne - /usage-examples/updateMany - /usage-examples/deleteOne - /usage-examples/deleteMany - /usage-examples/count - /usage-examples/distinct - /usage-examples/runCommand