Skip to content

Commit 38a19ef

Browse files
committed
Update ex_doc generation
1 parent e142292 commit 38a19ef

2 files changed

Lines changed: 10 additions & 14 deletions

File tree

docs.config

Lines changed: 0 additions & 4 deletions
This file was deleted.

rebar.config

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -22,16 +22,7 @@
2222
]},
2323
{prod, [
2424
{erl_opts, [inline_list_funcs, deterministic]}
25-
]},
26-
{docs, [
27-
{edoc_opts, [
28-
{private, true},
29-
{preprocess, true},
30-
{doclet, edoc_doclet_chunks},
31-
{layout, edoc_layout_chunks},
32-
{dir, "_build/default/lib/segmented_cache/doc"}
33-
]}
34-
]}
25+
]}
3526
]}.
3627

3728
%% take out warnings for unused exported functions
@@ -42,3 +33,12 @@
4233
deprecated_function_calls,
4334
deprecated_functions
4435
]}.
36+
37+
{hex, [
38+
{doc, #{provider => ex_doc}}
39+
]}.
40+
{ex_doc, [
41+
{source_url, <<"https://github.com/esl/segmented_cache">>},
42+
{extras, [<<"README.md">>, <<"LICENSE">>]},
43+
{main, <<"readme">>}
44+
]}.

0 commit comments

Comments
 (0)