File tree Expand file tree Collapse file tree 2 files changed +18
-10
lines changed Expand file tree Collapse file tree 2 files changed +18
-10
lines changed Original file line number Diff line number Diff line change @@ -214,6 +214,24 @@ defmodule Ecto.Repo do
214
214
215
215
"""
216
216
217
+ @ moduledoc groups: [
218
+ % { title: "Query API" , description: "Functions that operate on an `Ecto.Query`." } ,
219
+ % {
220
+ title: "Schema API" ,
221
+ description: "Functions that operate on an `Ecto.Schema` or a `Ecto.Changeset`."
222
+ } ,
223
+ % {
224
+ title: "Transaction API" ,
225
+ description: "Functions to work with database transactions and connections."
226
+ } ,
227
+ % {
228
+ title: "Process API" ,
229
+ description: "Functions to work with repository processes."
230
+ } ,
231
+ "Config API" ,
232
+ "User callbacks"
233
+ ]
234
+
217
235
@ type t :: module
218
236
219
237
@ doc """
Original file line number Diff line number Diff line change @@ -63,14 +63,6 @@ defmodule Ecto.MixProject do
63
63
skip_undefined_reference_warnings_on: [ "CHANGELOG.md" ] ,
64
64
extras: extras ( ) ,
65
65
groups_for_extras: groups_for_extras ( ) ,
66
- groups_for_docs: [
67
- group_for_function ( "Query API" ) ,
68
- group_for_function ( "Schema API" ) ,
69
- group_for_function ( "Transaction API" ) ,
70
- group_for_function ( "Process API" ) ,
71
- group_for_function ( "Config API" ) ,
72
- group_for_function ( "User callbacks" )
73
- ] ,
74
66
groups_for_modules: [
75
67
# Ecto,
76
68
# Ecto.Changeset,
@@ -165,8 +157,6 @@ defmodule Ecto.MixProject do
165
157
]
166
158
end
167
159
168
- defp group_for_function ( group ) , do: { String . to_atom ( group ) , & ( & 1 [ :group ] == group ) }
169
-
170
160
defp groups_for_extras do
171
161
[
172
162
Introduction: ~r/ guides\/ introduction\/ .?/ ,
You can’t perform that action at this time.
0 commit comments