aboutsummaryrefslogtreecommitdiffstats
path: root/lib/erl_docgen/priv/dtd
diff options
context:
space:
mode:
authorHans Bolinder <[email protected]>2017-10-23 15:49:54 +0200
committerHans Bolinder <[email protected]>2017-10-27 14:24:54 +0200
commitfb5bed5e5021841f67450f5ab911c13f184d0dbc (patch)
treed6093f24bea199b851c9fbfd00719f039f9cec25 /lib/erl_docgen/priv/dtd
parent1f34276d88c1bbbff29fbd0e38210608e17cc0be (diff)
downloadotp-fb5bed5e5021841f67450f5ab911c13f184d0dbc.tar.gz
otp-fb5bed5e5021841f67450f5ab911c13f184d0dbc.tar.bz2
otp-fb5bed5e5021841f67450f5ab911c13f184d0dbc.zip
erl_docgen: Insert an anchor for "anchor" attribute
Certain functions, particularly in erlang(3), have specs with many clauses, some of which are documented separately. No anchors were inserted automatically for clauses (as is the case for functions), why manually written anchors had to be added to the XML files. However, these anchors had to be placed inside the description, and the links would point into the text, not into the name of the function/clause. The new "anchor" attribute is to be used where manually written anchors have hitherto been used. The "anchor" attribute can also be used without the "clause_i" attribute.
Diffstat (limited to 'lib/erl_docgen/priv/dtd')
-rw-r--r--lib/erl_docgen/priv/dtd/erlref.dtd1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/erl_docgen/priv/dtd/erlref.dtd b/lib/erl_docgen/priv/dtd/erlref.dtd
index 615b88b61a..78d6771f52 100644
--- a/lib/erl_docgen/priv/dtd/erlref.dtd
+++ b/lib/erl_docgen/priv/dtd/erlref.dtd
@@ -33,4 +33,5 @@
<!ATTLIST name name CDATA #IMPLIED
arity CDATA #IMPLIED
clause_i CDATA #IMPLIED
+ anchor CDATA #IMPLIED
n_vars CDATA #IMPLIED>