diff options
author | Björn-Egil Dahlberg <[email protected]> | 2016-10-20 17:09:13 +0200 |
---|---|---|
committer | Björn-Egil Dahlberg <[email protected]> | 2016-10-24 10:54:47 +0200 |
commit | 7f237ebf67c24d4bec111f04dd81a83c83fd76f6 (patch) | |
tree | e6ed795055c08653c01b1eca306d967960ebb911 /lib/erl_interface/doc | |
parent | 3a6ece2c93372fff5dba6914bdcf2d70e5b941e2 (diff) | |
download | otp-7f237ebf67c24d4bec111f04dd81a83c83fd76f6.tar.gz otp-7f237ebf67c24d4bec111f04dd81a83c83fd76f6.tar.bz2 otp-7f237ebf67c24d4bec111f04dd81a83c83fd76f6.zip |
erl_interface: Fix broken links in documentation
Diffstat (limited to 'lib/erl_interface/doc')
-rw-r--r-- | lib/erl_interface/doc/src/ei_connect.xml | 2 | ||||
-rw-r--r-- | lib/erl_interface/doc/src/ei_users_guide.xml | 6 | ||||
-rw-r--r-- | lib/erl_interface/doc/src/erl_interface.xml | 5 | ||||
-rw-r--r-- | lib/erl_interface/doc/src/erl_malloc.xml | 2 | ||||
-rw-r--r-- | lib/erl_interface/doc/src/registry.xml | 4 |
5 files changed, 9 insertions, 10 deletions
diff --git a/lib/erl_interface/doc/src/ei_connect.xml b/lib/erl_interface/doc/src/ei_connect.xml index 06b54dbff4..be34fb7c53 100644 --- a/lib/erl_interface/doc/src/ei_connect.xml +++ b/lib/erl_interface/doc/src/ei_connect.xml @@ -292,7 +292,7 @@ if (ei_connect_init(&ec, "madonna", "cookie...", n++) < 0) { <desc> <p>Used to set tracing on the distribution. The levels are different verbosity levels. A higher level means more information. See also - section <seealso marker="debug_information"> + section <seealso marker="#debug_information"> Debug Information</seealso>.</p> <p>These functions are not thread safe.</p> </desc> diff --git a/lib/erl_interface/doc/src/ei_users_guide.xml b/lib/erl_interface/doc/src/ei_users_guide.xml index e6f4acb55f..2c82f9ae7f 100644 --- a/lib/erl_interface/doc/src/ei_users_guide.xml +++ b/lib/erl_interface/doc/src/ei_users_guide.xml @@ -45,7 +45,7 @@ storage</item> <item>Communication between C nodes and Erlang processes</item> <item>Backup and restore of C node state to and from - <seealso marker="mnesia"><c>Mnesia</c></seealso></item> + <seealso marker="mnesia:mnesia">Mnesia</seealso></item> </list> <note> <p>By default, the <c>Erl_Interface</c> libraries are only guaranteed @@ -207,7 +207,7 @@ i = erl_encode(tuple, buf); ]]></code> </section> <section> - <marker id="building terms and patterns"/> + <marker id="building_terms_and_patterns"/> <title>Building Terms and Patterns</title> <p>The previous example can be simplified by using the <seealso marker="erl_format"><c>erl_format</c></seealso> module @@ -733,7 +733,7 @@ ei_reg_close(reg); ]]></code> <section> <title>Backing Up the Registry to Mnesia</title> <p>The contents of a registry can be backed up to - <seealso marker="mnesia"><c>Mnesia</c></seealso> on a "nearby" Erlang + <seealso marker="mnesia:mnesia"><c>Mnesia</c></seealso> on a "nearby" Erlang node. You must provide an open connection to the Erlang node (see <seealso marker="erl_connect"><c>erl_connect</c></seealso>). Also, <c>Mnesia</c> 3.0 or later must be running diff --git a/lib/erl_interface/doc/src/erl_interface.xml b/lib/erl_interface/doc/src/erl_interface.xml index 2a3831cf0f..ab5b46cc01 100644 --- a/lib/erl_interface/doc/src/erl_interface.xml +++ b/lib/erl_interface/doc/src/erl_interface.xml @@ -153,7 +153,7 @@ i = erl_encode(tuple, buf); ]]></code> <section> <title>Building Terms and Patterns</title> - <p>The previous example can be simplified by using + <p>The previous example can be simplified by using <c><![CDATA[erl_format()]]></c> to create an Erlang term.</p> <code type="none"><![CDATA[ @@ -171,7 +171,7 @@ ep = erl_format("[{name,~a},{age,~i},{data,~w}]", erl_format("[{adr,~s,~i}]", "E-street", 42)); erl_free_compound(ep); ]]></code> <p>As in previous examples, it is your responsibility to free the - memory allocated for Erlang terms. In this example, + memory allocated for Erlang terms. In this example, <c><![CDATA[erl_free_compound()]]></c> ensures that the complete term pointed to by <c><![CDATA[ep]]></c> is released. This is necessary, because the pointer from the second call to <c><![CDATA[erl_format()]]></c> is lost. </p> @@ -623,4 +623,3 @@ ei_reg_restore(fd, reg, "mtab"); ]]></code> </section> </section> </chapter> - diff --git a/lib/erl_interface/doc/src/erl_malloc.xml b/lib/erl_interface/doc/src/erl_malloc.xml index 2892afdf01..e08924ec51 100644 --- a/lib/erl_interface/doc/src/erl_malloc.xml +++ b/lib/erl_interface/doc/src/erl_malloc.xml @@ -173,7 +173,7 @@ subterms associated with a specified Erlang term, regardless of whether we are still holding pointers to the subterms.</p> <p>For an example, see section - <seealso marker="building terms and patterns">Building Terms and Patterns</seealso> + <seealso marker="ei_users_guide#building_terms_and_patterns">Building Terms and Patterns</seealso> in the User's Guide.</p> </desc> </func> diff --git a/lib/erl_interface/doc/src/registry.xml b/lib/erl_interface/doc/src/registry.xml index 14b31d91a6..00b8f770de 100644 --- a/lib/erl_interface/doc/src/registry.xml +++ b/lib/erl_interface/doc/src/registry.xml @@ -37,7 +37,7 @@ <description> <p>This module provides support for storing key-value pairs in a table known as a registry, backing up registries to - <seealso marker="mnesia"><c>Mnesia</c></seealso> + <seealso marker="mnesia:mnesia">Mnesia</seealso> in an atomic manner, and later restoring the contents of a registry from <c>Mnesia</c>.</p> </description> @@ -107,7 +107,7 @@ where the backed up data is to be placed. If the table does not exist, it is created automatically using configurable defaults. For information about configuring this behavior, see - <seealso marker="mnesia"><c>Mnesia</c></seealso>.</item> + <seealso marker="mnesia:mnesia"><c>Mnesia</c></seealso>.</item> </list> <p>If <c><![CDATA[flags]]></c> is <c>0</c>, the backup includes only those objects that have been created, modified, or deleted since the |