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:

[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 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.