Skip to content

Commit

Permalink
Docs - eavmlib: add needed include, ex_doc
Browse files Browse the repository at this point in the history
Enables `rebar3 ex_doc` to succeed.

For version it seems to be manual replace in rebar.config eg:

sed -i "" "s/{version, .*}/{version, \"0.6.5\"}/" rebar.config && rebar3 ex_doc

Signed-off-by: Peter M <petermm@gmail.com>
  • Loading branch information
petermm committed Feb 2, 2025
1 parent b257211 commit f625b62
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions libs/eavmlib/rebar.config
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,18 @@
% SPDX-License-Identifier: Apache-2.0 OR LGPL-2.1-or-later
%

{erl_opts, [debug_info]}.
{erl_opts, [debug_info, {i, "../include"}]}.
{deps, []}.
{plugins, [rebar3_hex]}.
{plugins, [rebar3_hex, rebar3_ex_doc]}.

{shell, [
{apps, [eavmlib]}
]}.
{ex_doc, [
{version, "0.1.0"},
{source_url, "https://github.com/atomvm/AtomVM"},
{extras, []},
{main, "atomvm"},
{output, "doc"},
{api_reference, true}
]}.

0 comments on commit f625b62

Please sign in to comment.