diff options
author | Matthew Jordan <mjordan@digium.com> | 2014-07-31 11:49:40 +0000 |
---|---|---|
committer | Matthew Jordan <mjordan@digium.com> | 2014-07-31 11:49:40 +0000 |
commit | 922e3203a9303acbc95a334793a41e07e3f4772d (patch) | |
tree | 6c2ecda7896b61b79b9bbcb6b3e1cd0692e93ab6 /default.exports | |
parent | 485d0379aeac18563f2fd3b3fee8516e32f16675 (diff) |
xmldocs: Add support for an <example> tag in the Asterisk XML Documentation
This patch adds support for an <example /> tag in the XML documentation schema.
For CLI help, this doesn't change the formatting too much:
- Preceeding white space is removed
- Unlike with para elements, new lines are preserved
However, having an <example /> tag in the XML schema allows for the wiki
documentation generation script to surround the documentation with {code} or
{noformat} tags, generating much better content for the wiki - and allowing us
to put dialplan examples (and other code snippets, if desired) into the
documentation for an application/function/AMI command/etc.
Review: https://reviewboard.asterisk.org/r/3807/
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@419822 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'default.exports')
0 files changed, 0 insertions, 0 deletions