Skip to content

Commit 400ed5d

Browse files
authored
Fix broken/outdated erlang doc links (#13827)
1 parent 4bbddcc commit 400ed5d

File tree

4 files changed

+6
-6
lines changed

4 files changed

+6
-6
lines changed

lib/elixir/lib/kernel.ex

+1-1
Original file line numberDiff line numberDiff line change
@@ -1598,7 +1598,7 @@ defmodule Kernel do
15981598
15991599
This function is optimized so the complexity of `a -- b` is proportional
16001600
to `length(a) * log(length(b))`. See also the [Erlang efficiency
1601-
guide](https://www.erlang.org/doc/efficiency_guide/retired_myths.html).
1601+
guide](https://www.erlang.org/doc/system/efficiency_guide.html).
16021602
16031603
Inlined by the compiler.
16041604

lib/ex_unit/lib/ex_unit.ex

+1-1
Original file line numberDiff line numberDiff line change
@@ -306,7 +306,7 @@ defmodule ExUnit do
306306
* `:rand_algorithm` - algorithm to be used when generating the test seed.
307307
Available algorithms can be found in Erlang's
308308
[`:rand`](https://www.erlang.org/doc/man/rand.html) documentation (see
309-
[`:rand.builting_arg/0`](https://www.erlang.org/doc/man/rand.html#type-builtin_alg)).
309+
[`:rand.builting_arg/0`](https://www.erlang.org/doc/apps/stdlib/rand.html#t:builtin_alg/0)).
310310
Available since v1.16.0. Before v1.16.0, the algorithm was hard-coded to
311311
`:exs1024`. On Elixir v1.16.0 and after, the default changed to `:exsss`;
312312

lib/mix/lib/mix.ex

+1-1
Original file line numberDiff line numberDiff line change
@@ -379,7 +379,7 @@ defmodule Mix do
379379
380380
* `HEX_CACERTS_PATH` - use specified CA certificate file instead of default
381381
system CA certificates. This configures how HTTPS calls are made via
382-
[Erlang `ssl` module](https://www.erlang.org/doc/man/ssl#type-client_cafile)
382+
[Erlang `ssl` module](https://www.erlang.org/doc/apps/ssl/ssl.html#t:client_option_cert/0)
383383
to fetch remote archives and packages. For more details, see
384384
[`mix hex.config`](https://hexdocs.pm/hex/Mix.Tasks.Hex.Config.html#module-config-keys).
385385
"""

lib/mix/lib/mix/tasks/release.ex

+3-3
Original file line numberDiff line numberDiff line change
@@ -167,7 +167,7 @@ defmodule Mix.Tasks.Release do
167167
$ bin/RELEASE_NAME daemon
168168
169169
In daemon mode, the system is started on the background via
170-
[`run_erl`](https://www.erlang.org/doc/man/run_erl.html). You may also
170+
[`run_erl`](https://www.erlang.org/doc/apps/erts/run_erl_cmd.html). You may also
171171
want to enable [`heart`](https://www.erlang.org/doc/man/heart.html)
172172
in daemon mode so it automatically restarts the system in case
173173
of crashes. See the generated `releases/RELEASE_VSN/env.sh` file.
@@ -191,8 +191,8 @@ defmodule Mix.Tasks.Release do
191191
192192
While daemons are not available on Windows, it is possible to install a
193193
released system as a service on Windows with the help of
194-
[`erlsrv`](https://www.erlang.org/doc/man/erlsrv.html). This can be done by
195-
running:
194+
[`erlsrv`](https://www.erlang.org/doc/apps/erts/erlsrv_cmd.html).
195+
This can be done by running:
196196
197197
$ bin/RELEASE_NAME install
198198

0 commit comments

Comments
 (0)