11.3.8.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:
; Optional section used for literal additions to the JH2 <helpset>
<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" />
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 Mif2Go does not rewrite the helpset file each time (see §11.3.8.3 Deciding whether to rewrite the helpset file), you could simply add custom sections directly to the helpset file.
> 11 Generating JavaHelp or Oracle Help > 11.3 Setting up a JavaHelp or Oracle Help project > 11.3.8 Configuring the helpset file > 11.3.8.5 Adding custom helpset sections for JavaHelp 2