Skip to content

Commit 0f1c30b

Browse files
authored
Fix docs generation (#123)
1 parent 09c3dd0 commit 0f1c30b

File tree

2 files changed

+4
-9
lines changed

2 files changed

+4
-9
lines changed

rebar.config

-5
Original file line numberDiff line numberDiff line change
@@ -10,11 +10,6 @@
1010
%% convert to data codecov understands
1111
{plugins, [covertool]},
1212
{covertool, [{coverdata_files, ["ct.coverdata"]}]}
13-
]},
14-
{docs, [{edoc_opts, [{preprocess, true},
15-
{doclet, edoc_doclet_chunks},
16-
{layout, edoc_layout_chunks},
17-
{dir, "_build/default/lib/telemetry/doc"}]}
1813
]}
1914
]}.
2015

src/telemetry_test.erl

+4-4
Original file line numberDiff line numberDiff line change
@@ -14,12 +14,12 @@
1414

1515
%% @doc Attaches a "message" handler to the given events.
1616
%%
17-
%% The attached handler sends a message to `destination_pid` every time it handles one of the
18-
%% events in `events`. The function returns a reference that you can use to make sure that
17+
%% The attached handler sends a message to `destination_pid' every time it handles one of the
18+
%% events in `events'. The function returns a reference that you can use to make sure that
1919
%% messages come from this handler. This reference is also used as the handler ID, so you
20-
%% can use it to detach the handler with {link telemetry:detach/1}.
20+
%% can use it to detach the handler with {@link telemetry:detach/1}.
2121
%%
22-
%% The shape of messages sent to `destination_pid` is:
22+
%% The shape of messages sent to `destination_pid' is:
2323
%%
2424
%% ```
2525
%% {Event, Ref, Measurements, Metadata}

0 commit comments

Comments
 (0)