File 7373-otp-Fix-a-bunch-of-links-and-function-references.patch of Package erlang
From 5c986902fdfc7c4f1ef093768547615146a0f95f Mon Sep 17 00:00:00 2001
From: Lukas Larsson <lukas@erlang.org>
Date: Mon, 9 Oct 2023 15:40:37 +0200
Subject: [PATCH 03/13] otp: Fix a bunch of links and function references
---
erts/doc/src/erlang.xml | 3 +--
erts/doc/src/persistent_term.xml | 4 ++--
lib/common_test/doc/src/write_test_chapter.xml | 3 ++-
lib/crypto/doc/src/crypto_app.xml | 4 ++--
lib/debugger/doc/src/debugger_chapter.xml | 2 +-
lib/erl_docgen/priv/bin/validate_links.escript | 3 ++-
lib/erl_docgen/priv/xsl/db_html.xsl | 5 +++--
lib/et/doc/src/et_desc.xmlsrc | 2 +-
lib/et/doc/src/et_intro.xml | 2 +-
lib/kernel/doc/src/logger_cookbook.xml | 4 ++--
lib/kernel/doc/src/rpc.xml | 6 +++---
lib/observer/doc/src/ttb.xml | 2 +-
lib/observer/doc/src/ttb_ug.xml | 15 ++++++++-------
lib/snmp/doc/src/snmpc.xml | 2 +-
lib/ssh/doc/src/hardening.xml | 12 ++++++------
lib/ssh/doc/src/ssh.xml | 10 +++++-----
lib/ssh/doc/src/ssh_sftp.xml | 2 +-
lib/ssh/doc/src/using_ssh.xml | 2 +-
lib/stdlib/doc/src/ets.xml | 4 ++--
lib/stdlib/doc/src/gen_event.xml | 6 +++---
lib/stdlib/doc/src/proc_lib.xml | 2 +-
lib/stdlib/doc/src/qlc.xml | 6 ++++--
lib/stdlib/doc/src/rand.xml | 18 ++++++++----------
lib/stdlib/doc/src/sys.xml | 5 ++---
.../doc/design_principles/release_handling.xml | 4 ++--
system/doc/embedded/embedded_solaris.xml | 4 ++--
.../upcoming_incompatibilities.xml | 1 -
27 files changed, 67 insertions(+), 66 deletions(-)
diff --git a/erts/doc/src/erlang.xml b/erts/doc/src/erlang.xml
index 54da652bb7..101016dea4 100644
--- a/erts/doc/src/erlang.xml
+++ b/erts/doc/src/erlang.xml
@@ -363,7 +363,6 @@
</datatypes>
<datatypes>
- <datatype_title>Other Datatypes</datatype_title>
<datatype>
<name name="ext_binary" prefix="true"/>
<desc>
diff --git a/lib/stdlib/doc/src/rand.xml b/lib/stdlib/doc/src/rand.xml
index fb8075cb32..ce464fcae4 100644
--- a/lib/stdlib/doc/src/rand.xml
+++ b/lib/stdlib/doc/src/rand.xml
@@ -60,11 +60,11 @@
<p>
At the end of this module documentation there are also some
- <seeerl marker="#niche_algorithms">
+ <seeerl marker="#niche-algorithms-api">
niche algorithms
</seeerl>
to be used without this module's normal
- <seeerl marker="#plug_in_api">
+ <seeerl marker="#plug-in-framework-api">
plug-in framework API
</seeerl>
that may be useful for special purposes like
@@ -417,7 +417,6 @@ tests. We suggest to use a sign test to extract a random Boolean value.</pre>
<funcs>
<fsdescription>
- <marker id="plug_in_api"/>
<title>Plug-in framework API</title>
</fsdescription>
<func>
@@ -804,12 +803,11 @@ end.</pre>
<funcs>
<fsdescription>
- <marker id="niche_algorithms"/>
<title>Niche algorithms API</title>
<p>
This section contains special purpose algorithms
that does not use the
- <seeerl marker="#plug_in_api">plug-in framework API</seeerl>,
+ <seeerl marker="#plug-in-framework-api">plug-in framework API</seeerl>,
for example for speed reasons.
</p>
<p>
@@ -1031,7 +1029,7 @@ end.</pre>
It is easy to accidentally mess up the fairly good
statistical properties of this generator when doing either.
See the recepies at the start of this
- <seeerl marker="#niche_algorithms">
+ <seeerl marker="#niche-algorithms-api">
Niche algorithms API
</seeerl>
description.
@@ -1115,7 +1113,7 @@ end.</pre>
or bit mask extracting the lowest bits to produce numbers
in a range 16 bits or less.
See the recepies at the start of this
- <seeerl marker="#niche_algorithms">
+ <seeerl marker="#niche-algorithms-api">
Niche algorithms API
</seeerl>
description.
@@ -1124,7 +1122,7 @@ end.</pre>
On a typical 64 bit Erlang VM this generator executes
in below 8% (1/13) of the time
for the default algorithm in the
- <seeerl marker="#plug_in_api">
+ <seeerl marker="#plug-in-framework-api">
plug-in framework API
</seeerl>
of this module. With the
@@ -1182,7 +1180,7 @@ end.</pre>
of your generated values.
Therefore it is in general safer to shift out low bits.
See the recepies at the start of this
- <seeerl marker="#niche_algorithms">
+ <seeerl marker="#niche-algorithms-api">
Niche algorithms API
</seeerl>
description.
@@ -1217,7 +1215,7 @@ end.</pre>
It is in general general better to use the high bits
from this scrambler than the low.
See the recepies at the start of this
- <seeerl marker="#niche_algorithms">
+ <seeerl marker="#niche-algorithms-api">
Niche algorithms API
</seeerl>
description.
--
2.35.3