Skip to content

Commit 8d92e91

Browse files
committed
Ensure default groups are displayed last
1 parent d822391 commit 8d92e91

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

lib/mix/tasks/docs.ex

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -402,8 +402,9 @@ defmodule Mix.Tasks.Docs do
402402
* First, groups defined as `@moduledoc groups: [...]` in the given order.
403403
* Then groups defined as keys in the `:groups_for_docs` configuration.
404404
* Then default groups: Types, Callbacks and Functions.
405-
* Finally, other groups returned by `:default_group_for_doc` by order of
406-
appearance of their belonging elements.
405+
* Finally, other groups returned by `:default_group_for_doc` by alphabetical
406+
order of their belonging elements (first function in alphabetical order defines
407+
its group).
407408
408409
## Meta-tags configuration
409410

0 commit comments

Comments
 (0)