From fd0459a11b2d9e6bf1c945e2e4eff65d80760ab3 Mon Sep 17 00:00:00 2001 From: Zachary Dean Date: Tue, 8 Mar 2022 12:09:03 +0100 Subject: [PATCH] Setup ex_doc --- rebar.config | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/rebar.config b/rebar.config index 1a257170..a58fe3c4 100644 --- a/rebar.config +++ b/rebar.config @@ -20,7 +20,18 @@ debug_info ]}. -{project_plugins, [erlfmt, rebar3_hex]}. +{edoc_opts, [{preprocess, true}]}. +{ex_doc, [ + {homepage_url, <<"http://xqerl.org">>}, + {source_url, <<"https://github.com/zadean/xqerl">>}, + {logo, <<"./docs/img/Squirrel.png">>}, + {extras, [<<"README.md">>, <<"LICENSE">>, <<"./docs/src/GettingStarted.md">>]}, + {main, <<"readme">>} +]}. + +{hex, [{doc, ex_doc}]}. + +{project_plugins, [erlfmt]}. {erlfmt, [write]}.