qdoc: Document macro parameters

QDoc has the ability to accept parameters for macros but it was
never documented.

Change-Id: Iaf9a629c906fbe1552717c7444a0fd52b5655a3f
Reviewed-by: Martin Smith <martin.smith@digia.com>
bb10
Topi Reinio 2015-09-24 13:59:48 +02:00 committed by Topi Reiniö
parent 1765046730
commit e87df57abf
1 changed files with 12 additions and 0 deletions

View File

@ -734,6 +734,18 @@
command to render a superscript asterisk, but only when generating
HTML.
A macro can also take up to seven parameters:
\badcode
macro.hello = "Hello \1!"
\endcode
Parameters are passed to macros the same way as to other commands:
\badcode
\hello World
\endcode
See also \l {alias-variable} {alias}.
\target manifestmeta-variable