16. Documentation for Agent Plugins
This chapter describes how to create online help content for agent plugins.
User's Guide Contents
Documentation of an application should follow a certain structure to be consistent with existing user documentation, provided in . There is a set order of sections where the information should be presented in the following way:
Section | Description |
---|---|
Section 1 - Introduction |
|
Section 2 - Installation/ Further Info/ Setup (if applicable) | This section is optional and will specify required procedures for configuring the application as declared in the following sections. |
Section 3 - Profile (if applicable) | If there is a profile that needs configuration, it should be described before the agent configurations are described. There must be a screenshot of the GUI provided, with all the GUI items listed and described below. The items are listed in two columns with items to the left and the description to the right. Also, if applicable, suggested values or examples may be provided. If the GUI contains configurations in separate tabs, each tab must be described in its own subsection, each providing a screenshot of GUI and item listing. |
Section 4 - Agent | This section, including all subsections, are repeated for each agent in the User's Guide; Collection, Processing, Forwarding etc.
|
Section 5 - Inspection (if applicable) | If there is an inspection tool available, it should be described following the agent configuration descriptions. There must be a screenshot of the GUI provided, with all the GUI-items listed and described below. The items are listed in two columns with items to the left and the description to the right. Also, if applicable, suggested values or examples may be provided. If there is a Search option to limit the inspection, this GUI must be described in its own subsection, providing a screenshot and item listing. |
Section 6 - Example (optional) | Where the usage of an application is complex, it is sometimes helpful to provide an example of a "real" situation, including corresponding configurations. If this is necessary, the section is placed at the end of the User's Guide. |
Online Help Search Index
In order to make the menu item Complete Documentation available from the Help menu in Desktop, a search index has to be generated and included in the .hs
file:
- Download and install JavaHelp 2.0 from:
http://javahelp.java.net - Go to the directory where the javahelp files are stored:
cd <directory including javahelp files>
Run the jhindexer command to create a search index directory:
jhindexer .
The command generates a new directory called
JavaHelpSearch
which contains the search index.Specify the new
JavaHelpSearch
directory as the search index directory in the.hs
script:<view> <name>Search</name> <label>Search</label> <type>javax.help.SearchView</type> <data engine="com.sun.java.help.search.DefaultSearchEngine">JavaHelpSearch</data> </view>
- Make sure that the
JavaHelpSearch
directory is included in the resulting package. See Creating a User Defined Package in 3. Creating a DTK Plugin for information on how to create packages.
The menu item Complete Documentation in the Help menu will be available after the package containing a correctly configured search index directory has been sent to the Platform with the pcommit
command.
Note!
A Desktop restart might also be necessary.