[asterisk-commits] eliel: branch group/appdocsxml r148245 - in /team/group/appdocsxml: funcs/ main/
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Fri Oct 10 08:20:30 CDT 2008
Author: eliel
Date: Fri Oct 10 08:20:29 2008
New Revision: 148245
URL: http://svn.digium.com/view/asterisk?view=rev&rev=148245
Log:
Fix an typo issue while adding <see-also> to a function.
Add the 'manpage' type to the <ref> elements to reference a manpage.
Modified:
team/group/appdocsxml/funcs/func_strings.c
team/group/appdocsxml/main/pbx.c
Modified: team/group/appdocsxml/funcs/func_strings.c
URL: http://svn.digium.com/view/asterisk/team/group/appdocsxml/funcs/func_strings.c?view=diff&rev=148245&r1=148244&r2=148245
==============================================================================
--- team/group/appdocsxml/funcs/func_strings.c (original)
+++ team/group/appdocsxml/funcs/func_strings.c Fri Oct 10 08:20:29 2008
@@ -257,6 +257,9 @@
that format. Supports most options found in <emphasis>sprintf(3)</emphasis>.
Returns a shortened string if a format specifier is not recognized.</para>
</description>
+ <see-also>
+ <ref type="manpage">sprintf(3)</ref>
+ </see-also>
</function>
<function name="QUOTE" language="en_US">
<synopsis>
Modified: team/group/appdocsxml/main/pbx.c
URL: http://svn.digium.com/view/asterisk/team/group/appdocsxml/main/pbx.c?view=diff&rev=148245&r1=148244&r2=148245
==============================================================================
--- team/group/appdocsxml/main/pbx.c (original)
+++ team/group/appdocsxml/main/pbx.c Fri Oct 10 08:20:29 2008
@@ -4167,7 +4167,9 @@
ast_str_append(&outputstr, 0, "%s: Type <astcli>help %s</astcli> for more info.\n", content, content);
} else if (!strcasecmp(typename, "link")) {
ast_str_append(&outputstr, 0, "%s\n", content);
- }
+ } else if (!strcasecmp(typename, "manpage")) {
+ ast_str_append(&outputstr, 0, "ManPage: %s\n", content);
+ }
ast_xml_free_text(content);
}
ast_xml_free_attr(typename);
@@ -4568,7 +4570,7 @@
acf->desc = xmldoc_get_field("function", acf->name, "description", 0);
acf->syntax = xmldoc_get_syntax("function", acf->name);
acf->arguments = xmldoc_build_arguments("function", acf->name);
- acf->seealso = xmldoc_parse_seealso("functions", acf->name);
+ acf->seealso = xmldoc_parse_seealso("function", acf->name);
acf->docsrc = AST_XML_DOC;
}
#endif
More information about the asterisk-commits
mailing list