We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fb004af commit 6a0276dCopy full SHA for 6a0276d
test/ex_doc/language/erlang_test.exs
@@ -12,6 +12,11 @@ defmodule ExDoc.Language.ErlangTest do
12
~s|<a href="bar.html"><code>bar</code></a>|
13
end
14
15
+ test "current module", c do
16
+ assert autolink_doc("{@link foo}", [current_module: :foo], c) ==
17
+ ~s|<a href="foo.html#content"><code>foo</code></a>|
18
+ end
19
+
20
test "OTP module", c do
21
assert autolink_doc("{@link array}", c) ==
22
~s|<a href="https://erlang.org/doc/man/array.html"><code>array</code></a>|
0 commit comments