You can not select more than 25 topics Topics must start with a chinese character,a letter or number, can include dashes ('-') and can be up to 35 characters long.

stylebook.html 2.2 KiB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071
  1. <html>
  2. <head>
  3. <meta http-equiv="Content-Language" content="en-us">
  4. <link rel="stylesheet" type="text/css" href="../stylesheets/style.css"/>
  5. <title>StyleBook Task</title>
  6. </head>
  7. <body>
  8. <h2><a name="stylebook">Stylebook</a></h2>
  9. <h3>Description</h3>
  10. <p>This executes the apache Stylebook documentation generator.
  11. Unlike the commandline version of this tool, all three arguments
  12. are required to run stylebook.</p>
  13. <p><b>Note:</b> This task depends on external libraries not included in the Ant distribution.
  14. See <a href="../install.html#librarydependencies">Library Dependencies</a> for more information.</p>
  15. <p>
  16. Being extended from <code>&lt;Java&gt;</code>, all the parent's attributes
  17. and options are available. Do not set any apart from the <tt>classpath</tt>
  18. as they are not guaranteed to be there in future.
  19. </p>
  20. <h3>Parameters</h3>
  21. <table border="1" cellpadding="2" cellspacing="0">
  22. <tr>
  23. <td valign="top"><b>Attribute</b></td>
  24. <td valign="top"><b>Description</b></td>
  25. <td align="center" valign="top"><b>Required</b></td>
  26. </tr>
  27. <tr>
  28. <td valign="top">book</td>
  29. <td valign="top">the book xml file that the documentation generation starts from
  30. </td>
  31. <td valign="top" align="center">Yes</td>
  32. </tr>
  33. <tr>
  34. <td valign="top">skindirectory</td>
  35. <td valign="top">the directory that contains the stylebook skin
  36. </td>
  37. <td valign="top" align="center">Yes</td>
  38. </tr>
  39. <tr>
  40. <td valign="top">targetdirectory</td>
  41. <td valign="top">the destination directory where the documentation is generated
  42. </td>
  43. <td valign="top" align="center">Yes</td>
  44. </tr>
  45. </table>
  46. <p>
  47. The user can also specify the nested <code>&lt;classpath&gt;</code> element which defines classpath
  48. in which the task is executed.</p>
  49. <h3>Examples</h3>
  50. <blockquote>
  51. <pre>
  52. &lt;stylebook targetdirectory=&quot;build/docs&quot;
  53. book=&quot;src/xdocs/book.xml&quot;
  54. skindirectory=&quot;src/skins/myskin&quot;/&gt;
  55. </pre>
  56. </blockquote>
  57. The above will generate documentation in build/docs starting from the book
  58. src/xdocs/book.xml and using the skin located in directory src/skins/myskin.
  59. <hr>
  60. <p align="center">Copyright &copy; 2001-2002,2004-2005 The Apache Software Foundation. All rights
  61. Reserved.</p>
  62. </body>
  63. </html>