Skip to content

Commit c2d5868

Browse files
authored
Change introduction doc grouping (#4583)
The introduction doc grouping reads as a step-by-step tutorial for creating the `friends` example. The Embedded Schema docs being included can be confusing for someone using the bottom nav, since they would get moved from the friends example to an unrelated user profile example. It seems to be more fitting as a how-to. I also moved out the testing docs for similar reasons. In Phoenix, testing has its own section, so I did the same for Ecto (since the testing documentation is disconnected from `friends`.
1 parent 5f0493c commit c2d5868

File tree

3 files changed

+4
-3
lines changed

3 files changed

+4
-3
lines changed
File renamed without changes.
File renamed without changes.

mix.exs

+4-3
Original file line numberDiff line numberDiff line change
@@ -142,21 +142,21 @@ defmodule Ecto.MixProject do
142142
def extras() do
143143
[
144144
"guides/introduction/Getting Started.md",
145-
"guides/introduction/Embedded Schemas.md",
146-
"guides/introduction/Testing with Ecto.md",
147145
"guides/howtos/Aggregates and subqueries.md",
148146
"guides/howtos/Composable transactions with Multi.md",
149147
"guides/howtos/Constraints and Upserts.md",
150148
"guides/howtos/Data mapping and validation.md",
151149
"guides/howtos/Duration Types with Postgrex.md",
152150
"guides/howtos/Dynamic queries.md",
151+
"guides/howtos/Embedded Schemas.md",
153152
"guides/howtos/Multi tenancy with query prefixes.md",
154153
"guides/howtos/Multi tenancy with foreign keys.md",
155154
"guides/howtos/Self-referencing many to many.md",
156155
"guides/howtos/Polymorphic associations with many to many.md",
157156
"guides/howtos/Replicas and dynamic repositories.md",
158157
"guides/howtos/Schemaless queries.md",
159158
"guides/howtos/Test factories.md",
159+
"guides/testing/Testing with Ecto.md",
160160
"guides/cheatsheets/crud.cheatmd",
161161
"guides/cheatsheets/associations.cheatmd",
162162
"CHANGELOG.md"
@@ -169,7 +169,8 @@ defmodule Ecto.MixProject do
169169
[
170170
Introduction: ~r/guides\/introduction\/.?/,
171171
Cheatsheets: ~r/cheatsheets\/.?/,
172-
"How-To's": ~r/guides\/howtos\/.?/
172+
"How-To's": ~r/guides\/howtos\/.?/,
173+
Testing: ~r/testing\/.?/
173174
]
174175
end
175176

0 commit comments

Comments
 (0)