##### 20.3.7.5 Adding custom helpset sections for JavaHelp 2

JavaHelp 2 supports additional entries in the helpset file, such as an <impl> section; see the JavaHelp System User’s Guide for information about this feature.

To add custom entries to the helpset, list the code for each entry in the following configuration-file section. For example:

[JH2_HelpsetAddition]
; Optional section used for literal additions to the JH2 <helpset>
<impl>
<helpsetregistry helpbrokerclass="javax.help.DefaultHelpBroker" />
<viewerregistry viewertype="text/html"
viewerclass="com.sun.java.help.impl.CustomKit" />
<viewerregistry viewertype="text/xml"
viewerclass="com.sun.java.help.impl.CustomXMLKit" />
</impl>

You can put anything you please in section [JH2_HelpsetAddition], and whatever you add is included in the helpset file; for example, you can add your own <presentation> sections.

If DITA2Go does not rewrite the helpset file each time (see §20.3.7.3 Deciding whether to rewrite the helpset file), you could simply add custom sections directly to the helpset file.

Previous Topic: 20.3.7.4 Providing a “favorites” option for JavaHelp 2

Next Topic: 20.3.7.6 Requiring full paths in the helpset file

Parent Topic: 20.3.7 Configuring the helpset file

Sibling Topics:

20.3.7.1 Specifying helpset file name and title

20.3.7.2 Specifying a default starting topic for the helpset

20.3.7.3 Deciding whether to rewrite the helpset file

20.3.7.4 Providing a “favorites” option for JavaHelp 2

20.3.7.6 Requiring full paths in the helpset file

Table of Contents • Index