-
Notifications
You must be signed in to change notification settings - Fork 351
Closed
Description
Running on Erlang: 24.0.2
Erlang library tested: https://github.com/certifi/erlang-certifi
I was following the instruction here, https://github.com/elixir-lang/ex_doc#using-exdoc-with-erlang-projects, but stuck at step 4.
rebar.config
as follows:
{erl_first_files, ["src/certifi_pt.erl"]}.
{erl_opts, [deterministic %% Added since OTP 20
,{platform_define, "^2", 'OTP_20_AND_ABOVE'}
,{doclet, edoc_doclet_chunks}
,{layout, edoc_layout_chunks}
,{dir, "_build/default/lib/certifi/doc"}
]}.
To generate doc using rebar3:
rebar3 edoc
To generate doc using ExDoc:
rebar3 compile # <-- missing this step here otherwise `_build/default` folder is not found
ex_doc "certifi" "2.7.0" _build/default/lib/certifi/ebin
HTML files were generated, but without the content?
Not familiar with Erlang and its ecosystem, did I miss out something?
Metadata
Metadata
Assignees
Labels
No labels