Skip to content

Commit

Permalink
doc: switch to ex_doc
Browse files Browse the repository at this point in the history
  • Loading branch information
RoadRunnr committed Apr 3, 2024
1 parent 0d4e688 commit ade644b
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/hex.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,5 +25,5 @@ jobs:
env:
HEX_API_KEY: ${{ secrets.HEX_API_KEY }}
run: |
rebar3 edoc
rebar3 ex_doc
rebar3 hex publish -r hexpm --yes
14 changes: 14 additions & 0 deletions rebar.config
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,23 @@
%% @TODO: Folow https://github.com/markusn/coveralls-erl/pull/36 and use `coveralls` after release
{coveralls, {git, "https://github.com/RoadRunnr/coveralls-erl.git", {branch, "feature/git-info"}}},
rebar3_hex,
rebar3_ex_doc,
rebar3_fmt
]}.

%% == ExDoc ==

{ex_doc, [
{extras, ["README.md", "LICENSE"]},
{main, "README.md"},
{source_url, "https://github.com/travelping/prometheus_diameter_collector"}
]}.

%% == Hex ==
{hex, [
{doc, #{provider => ex_doc}}
]}.

%% == Cover ==
{cover_enabled, true}.
{cover_export_enabled, true}.
Expand Down

0 comments on commit ade644b

Please sign in to comment.