Skip to content

Commit 3f90b8f

Browse files
committed
doc: group docs
1 parent 53538da commit 3f90b8f

File tree

1 file changed

+11
-3
lines changed

1 file changed

+11
-3
lines changed

mix.exs

+11-3
Original file line numberDiff line numberDiff line change
@@ -19,11 +19,19 @@ defmodule TypedStructor.MixProject do
1919
main: "TypedStructor",
2020
source_url: @source_url,
2121
extra_section: "Guides",
22+
groups_for_extras: [
23+
Guides: ~r<(guides/[^\/]+\.md)|(README.md)>,
24+
Plugins: ~r{guides/plugins/[^\/]+\.md}
25+
],
2226
extras: [
23-
"README.md",
27+
{"CHANGELOG.md", [title: "Changelog"]},
28+
29+
# guides
30+
{"README.md", [title: "Introduction"]},
2431
"guides/migrate_from_typed_struct.md",
25-
"guides/plugins/type_only_on_ecto_schema.md",
26-
"CHANGELOG.md"
32+
33+
# plugins
34+
"guides/plugins/type_only_on_ecto_schema.md"
2735
]
2836
],
2937
package: [

0 commit comments

Comments
 (0)