diff options
author | Kenneth Lundin <kenneth.lundin@gmail.com> | 2018-11-08 12:12:53 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-11-08 12:12:53 +0100 |
commit | b3de9fe8ad151d9b8589bafada9981cd6abc9d94 (patch) | |
tree | 34eaba2cabbeb16c1b4642b6899351cf7b04d285 | |
parent | 505b01e6b57c695dea0e8e02b97f9f3f5b909be6 (diff) | |
download | erlang-KennethL/erl_docgen/erlref_update.tar.gz |
New attributes argtag and since to nameKennethL/erl_docgen/erlref_update
Introduce new attributes argtag and since to the name element. The since attribute is also added to the module element.
This allows to specify in which OTP release a specific function was introduced
-rw-r--r-- | lib/erl_docgen/priv/dtd/erlref.dtd | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/lib/erl_docgen/priv/dtd/erlref.dtd b/lib/erl_docgen/priv/dtd/erlref.dtd index 78d6771f52..393d71f980 100644 --- a/lib/erl_docgen/priv/dtd/erlref.dtd +++ b/lib/erl_docgen/priv/dtd/erlref.dtd @@ -25,6 +25,7 @@ <!ELEMENT erlref (header,module,modulesummary,description, (section|funcs|datatypes)*,authors?) > <!ELEMENT module (#PCDATA) > +<!ATTLIST module since CDATA #IMPLIED> <!ELEMENT modulesummary (#PCDATA) > <!-- `name' is used in common.refs.dtd and must therefore @@ -34,4 +35,6 @@ arity CDATA #IMPLIED clause_i CDATA #IMPLIED anchor CDATA #IMPLIED - n_vars CDATA #IMPLIED> + n_vars CDATA #IMPLIED + argtag CDATA #IMPLIED + since CDATA #IMPLIED> |