summaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorDimitri van Heesch <dimitri@stack.nl>2013-09-04 14:34:37 (GMT)
committerDimitri van Heesch <dimitri@stack.nl>2013-09-24 19:01:24 (GMT)
commit3b9f4d9cee85686861070c68a53c9db369589a6e (patch)
tree1f196c204b3da949f1d1348e59760e4c3be6a77e /doc
parentb4e5125a6208c783445ffb66d1f683d17c8c7cd1 (diff)
downloadDoxygen-3b9f4d9cee85686861070c68a53c9db369589a6e.zip
Doxygen-3b9f4d9cee85686861070c68a53c9db369589a6e.tar.gz
Doxygen-3b9f4d9cee85686861070c68a53c9db369589a6e.tar.bz2
Added @parblock and @endparblock commands
Diffstat (limited to 'doc')
-rw-r--r--doc/commands.doc31
1 files changed, 31 insertions, 0 deletions
diff --git a/doc/commands.doc b/doc/commands.doc
index 7054c11..912e9ec 100644
--- a/doc/commands.doc
+++ b/doc/commands.doc
@@ -85,6 +85,7 @@ documentation:
\refitem cmdendlink \\endlink
\refitem cmdendmanonly \\endmanonly
\refitem cmdendmsc \\endmsc
+\refitem cmdendparblock \\endparblock
\refitem cmdendrtfonly \\endrtfonly
\refitem cmdendsecreflist \\endsecreflist
\refitem cmdendverbatim \\endverbatim
@@ -136,6 +137,7 @@ documentation:
\refitem cmdpar \\par
\refitem cmdparagraph \\paragraph
\refitem cmdparam \\param
+\refitem cmdparblock \\parblock
\refitem cmdpost \\post
\refitem cmdpre \\pre
\refitem cmdprivate \\private
@@ -1473,6 +1475,35 @@ void setPosition(double x,double y,double z,double t)
\endverbatim
<hr>
+\section cmdparblock \\parblock
+ \addindex \\parblock
+ For commands that expect a single paragraph as argument
+ (such as \ref cmdpar "\\par", \ref cmdparam "\\param" and \ref cmdwarning "\\warning"),
+ the \ref cmdparblock "\\parblock" command allows to start a
+ description that covers multiple paragraphs, which then ends with
+ \ref cmdendparblock "\\endparblock".
+
+ Example:
+\verbatim
+/** Example of a param command with a description consisting of two paragraphs
+ * \param p
+ * \parblock
+ * First paragraph of the param description.
+ *
+ * Second paragraph of the param description.
+ * \endparblock
+ * Rest of the comment block continues.
+ */
+\endverbatim
+ Note that the \\parblock command may also appear directly after
+ \\param's first argument.
+
+<hr>
+\section cmdendparblock \\endparblock
+ \addindex \\endparblock
+ This ends a block of paragraphs started with \\ref cmdparblock "\\parblock".
+
+<hr>
\section cmdtparam \\tparam <template-parameter-name> { description }
\addindex \\tparam