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 fd55c41 commit fd4a0c7Copy full SHA for fd4a0c7
lib/ex_doc/autolink.ex
@@ -248,6 +248,9 @@ defmodule ExDoc.Autolink do
248
["", "", ""] ->
249
{:local, :..}
250
251
+ ["//", "", ""] ->
252
+ {:local, :"..//"}
253
+
254
["", ""] ->
255
{:local, :.}
256
test/ex_doc/autolink_test.exs
@@ -106,6 +106,12 @@ defmodule ExDoc.AutolinkTest do
106
107
assert autolink("for/1", apps: [:elixir]) ==
108
~m"[`for/1`](Kernel.SpecialForms.html#for/1)"
109
110
+ # TODO: Remove check once Elixir v1.12+ is required
111
+ if Version.match?(System.version(), ">= 1.12.0-rc.0") do
112
+ assert autolink("..///3") ==
113
+ ~m"[`..///3`](https://hexdocs.pm/elixir/Kernel.html#..///3)"
114
+ end
115
end
116
117
test "elixir callback" do
0 commit comments