aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorHans Bolinder <[email protected]>2016-10-05 08:29:36 +0200
committerHans Bolinder <[email protected]>2016-10-05 08:29:36 +0200
commit680945a01be052f1c68750ff1d386185bfad0788 (patch)
tree09cc87b679f145256e8a4ded1cbf9e194400221b /lib
parent90f81374945d2b6ed49a294844369df67557b575 (diff)
parentd40ef30901022c14228e2cd65b5f8cfbdbebd197 (diff)
downloadotp-680945a01be052f1c68750ff1d386185bfad0788.tar.gz
otp-680945a01be052f1c68750ff1d386185bfad0788.tar.bz2
otp-680945a01be052f1c68750ff1d386185bfad0788.zip
Merge branch 'cypherfox/edoc/add_doc/PR-1175' into maint
* cypherfox/edoc/add_doc/PR-1175: add info for param and returns tags
Diffstat (limited to 'lib')
-rw-r--r--lib/edoc/doc/overview.edoc10
1 files changed, 10 insertions, 0 deletions
diff --git a/lib/edoc/doc/overview.edoc b/lib/edoc/doc/overview.edoc
index d2bba9d744..3a2118928a 100644
--- a/lib/edoc/doc/overview.edoc
+++ b/lib/edoc/doc/overview.edoc
@@ -377,6 +377,12 @@ The following tags can be used before a function definition:
Useful for debug/test functions, etc. The content can be
used as a comment; it is ignored by EDoc.</dd>
+ <dt><a name="ftag-param">`@param'</a></dt>
+ <dd>Provide more information on a single parameter of the
+ enclosing function. The content consists of a parameter name,
+ followed by one or more whitespace characters, and XHTML text.
+ </dd>
+
<dt><a name="ftag-private">`@private'</a></dt>
<dd>Marks the function as private (i.e., not part of the public
interface), so that it will not appear in the normal
@@ -386,6 +392,10 @@ The following tags can be used before a function definition:
always "private".) The content can be used as a comment; it is
ignored by EDoc.</dd>
+ <dt><a name="ftag-returns">`@returns'</a></dt>
+ <dd>Specify additional information about the value returned by
+ the function. Content consists of XHTML text.</dd>
+
<dt><a name="ftag-see">`@see'</a></dt>
<dd>Make a reference to a module, function, datatype, or
application. (See {@section References}.)