Generating project documentation

Documentation generation is not supported in Together Whiteboard.

Together delivers a wide variety of documentation generation options. Regardless of the option you choose, your system documentation stays accurate and up to date.

Tip: If you're looking for information to get started fast, see Getting Started: Documentation Generation.

Generating HTML documentation

Generating HTML documentation, including JavaDoc is designed to be as simple and straightforward as possible:

Setting JavaDoc options

To set JavaDoc options in your configuration:

  1. Launch the Options dialog.

  2. Use Advanced to select the configuration level if necessary

  3. Select the Generate HTML tab.

  4. Expand the JavaDoc Options node.

  5. Set JavaDoc and other options as desired referring to the on-screen Help.

Launching HTML docgen


  1. On the Main menu choose Tools | Documentation | Generate HTML to launch the Generate HTML dialog.

  2. Set desired parameter options:

  3. Click OK in the dialog to generate doc to the specified target directory. To view doc later, run your web browser and load the file index.html in the directory you specified for HTML output.

RTF and other template-based documentation

If you need documentation that's compatible with a word processing application, generating RTF (Rich Text Format) documentation is just as easy as generating HTML:

Launching RTF docgen


  1. On the Main menu choose Tools | Documentation | Generate Using Template to launch the Generate Documentation dialog.

  2. Set desired parameter options:

  3. Click OK in the dialog to generate doc to the specified target directory. To view doc later, run your RTF-compatible word processor and load the generated rtf file in the directory you specified for output.

Automating documentation generation procedure

If you have a nightly or other periodic automated build process, you can update your documentation as part of it by having your process script call Together's HTML or RTF docgen facility through the command line interface. Together provides the possibility to generate documentation without actually opening Together window. You can use one of the launchers shipped with Together: $TGH$\bin\Together.exe, $TGH$\bin\TogetherCon.exe, or $TGH$\bin\win32\umldoc.exe (for Windows users only).

Together.exe and TogetherCon.exe allow to choose between RTF and HTML documentation, while umldoc.exe produces HTML documentation only. On the other hand, TogetherCon.exe and umldoc.exe bypass Together window, while Together.exe starts the shell and brings you through the entire doc generation procedure.

The syntax rules are outlined in the Reference | Command Line Parameters.

Examples

Together.exe -script=com.togethersoft.modules.genhtml.GenerateHTML - sourcepath d:\Together4.2\samples\java\CashSales d:\Together4.2\myprojects\CashSales.tpr

Together.exe -script=com.togethersoft.modules.gendoc.GenerateDocumentation d:\Together4.2\myprojects\CashSales\CashSales.tpr

TogetherCon.exe -script=com.togethersoft.modules.genhtml.GenerateHTML -browser -d d:\out d:\Together4.2\myprojects\CashSales\CashSales.tpr

TogetherCon.exe -script=com.togethersoft.modules.gendoc.GenerateDocumentation -d d:\out d:\Together4.2\myprojects\CashSales\CashSales.tpr

umldoc.exe -d d:\out d:\Together4.2\myprojects\CashSales\CashSales.tpr