mxmldoc.man 4.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198
  1. .\"
  2. .\" "$Id: mxmldoc.man 390 2009-05-05 13:38:00Z mike $"
  3. .\"
  4. .\" mxmldoc man page for mini-XML, a small XML-like file parsing library.
  5. .\"
  6. .\" Copyright 2003-2009 by Michael Sweet.
  7. .\"
  8. .\" This program is free software; you can redistribute it and/or
  9. .\" modify it under the terms of the GNU Library General Public
  10. .\" License as published by the Free Software Foundation; either
  11. .\" version 2, or (at your option) any later version.
  12. .\"
  13. .\" This program is distributed in the hope that it will be useful,
  14. .\" but WITHOUT ANY WARRANTY; without even the implied warranty of
  15. .\" MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  16. .\" GNU General Public License for more details.
  17. .\"
  18. .TH mxmldoc 1 "Mini-XML" "4 May 2009" "Michael Sweet"
  19. .SH NAME
  20. mxmldoc \- mini-xml documentation generator
  21. .SH SYNOPSIS
  22. .B mxmldoc
  23. \-\-no-output [
  24. .I filename.xml
  25. ]
  26. .I source file(s)
  27. ]
  28. .br
  29. .B mxmldoc
  30. [ \-\-footer
  31. .I footerfile
  32. ] [ \-\-header
  33. .I headerfile
  34. ] [ \-\-intro
  35. .I introfile
  36. ] [ \-\-section
  37. .I section
  38. ] [ \-\-title
  39. .I title
  40. ] [
  41. .I filename.xml
  42. ] [
  43. .I source file(s)
  44. ] >
  45. .I filename.html
  46. .br
  47. .B mxmldoc
  48. \-\-docset
  49. .I directory.docset
  50. [ \-\-docversion
  51. .I version
  52. ] [ \-\-feedname
  53. .I name
  54. ] [ \-\-feedurl
  55. .I url
  56. ] [ \-\-footer
  57. .I footerfile
  58. ] [ \-\-header
  59. .I headerfile
  60. ] [ \-\-intro
  61. .I introfile
  62. ] [ \-\-section
  63. .I section
  64. ] [ \-\-title
  65. .I title
  66. ] [
  67. .I filename.xml
  68. ] [
  69. .I source file(s)
  70. ]
  71. .br
  72. .B mxmldoc
  73. \-\-tokens
  74. .I path
  75. [
  76. .I filename.xml
  77. ] [
  78. .I source file(s)
  79. ] > tokens.xml
  80. .br
  81. .B mxmldoc
  82. \-\-framed
  83. .I basename
  84. [ \-\-footer
  85. .I footerfile
  86. ] [ \-\-header
  87. .I headerfile
  88. ] [ \-\-intro
  89. .I introfile
  90. ] [ \-\-section
  91. .I section
  92. ] [ \-\-title
  93. .I title
  94. ] [
  95. .I filename.xml
  96. ] [
  97. .I source file(s)
  98. ]
  99. .br
  100. .B mxmldoc
  101. [ \-\-footer
  102. .I footerfile
  103. ] [ \-\-header
  104. .I headerfile
  105. ] [ \-\-intro
  106. .I introfile
  107. ] \-\-man
  108. .I manpage
  109. [ \-\-section
  110. .I section
  111. ] [ \-\-title
  112. .I title
  113. ] [
  114. .I filename.xml
  115. ] [
  116. .I source file(s)
  117. ] >
  118. .I filename.man
  119. .SH DESCRIPTION
  120. \fImxmldoc\fR scans the specified C and C++ source files to produce
  121. an XML representation of globally accessible classes, constants,
  122. enumerations, functions, structures, typedefs, unions, and variables
  123. - the XML file is updated as necessary. By default, a HTML
  124. representation of the XML file is written to the standard output.
  125. Use the \fI\-\-no-output\fR option to disable the HTML output.
  126. .PP
  127. Man page source can be generated using the \fI\-\-man\fR option.
  128. .PP
  129. If no source files are specified then the current XML file is
  130. converted to the standard output.
  131. .PP
  132. In general, any C or C++ source code is handled by \fImxmldoc\fR,
  133. however it was specifically written to handle code with
  134. documentation that is formatted according to the CUPS Developer
  135. Guide which is available at "http://www.cups.org/documentation.php".
  136. .SH OPTIONS
  137. .TP 5
  138. \-\-docset directory.docset
  139. .br
  140. Creates an Xcode documentation set in the specified directory.
  141. .TP 5
  142. \-\-docversion version
  143. .br
  144. Specifies the version number for the Xcode documentation set.
  145. .TP 5
  146. \-\-feedname name
  147. .br
  148. Specifies the Xcode documentation set feed name, typically the project or
  149. company name.
  150. .TP 5
  151. \-\-feedurl url
  152. .br
  153. Specifies the Xcode documentation set feed URL which must point to an ATOM file
  154. linking to updates.
  155. .TP 5
  156. \-\-footer footerfile
  157. .br
  158. Inserts the specified file at the bottom of the output documentation.
  159. .TP 5
  160. \-\-framed basename
  161. .br
  162. Creates HTML documentation using frames - one for the table-of-contents and
  163. one for the body.
  164. .TP 5
  165. \-\-header headerfile
  166. .br
  167. Inserts the specified file at the top of the output documentation.
  168. .TP 5
  169. \-\-intro introfile
  170. .br
  171. Inserts the specified file before the table of contents.
  172. .TP 5
  173. \-\-man manpage
  174. .br
  175. Generated a man page instead of HTML documentation.
  176. .TP 5
  177. \-\-no-output
  178. .br
  179. Disables generation of documentation on the standard output.
  180. .TP 5
  181. \-\-section section
  182. .br
  183. Sets the section/keywords in the output documentation.
  184. .TP 5
  185. \-\-title title
  186. .br
  187. Sets the title of the output documentation.
  188. .TP 5
  189. \-\-tokens
  190. .br
  191. Generates a Tokens.xml file for use with the Xcode documentation tools.
  192. .SH SEE ALSO
  193. mxml(3), Mini-XML Programmers Manual, http://www.minixml.org/
  194. .SH COPYRIGHT
  195. Copyright 2003-2009 by Michael Sweet.
  196. .\"
  197. .\" End of "$Id: mxmldoc.man 390 2009-05-05 13:38:00Z mike $".
  198. .\"