HelpNDoc can export topic identifiers, such as Help Ids and Help context numbers, to be used in programming projects. This makes it possible to integrate your documentation with external applications, so that topics can be displayed when triggered from software.

The export process works similarly to generating other documentation formats: you can either perform a quick export or configure it in detail through the Generate Documentation dialog.

Quick export of topic identifiers

To quickly export topic identifiers using the default settings:

  1. Go to the Home ribbon tab.
  2. Click the bottom part of the Generate Help button.
  3. Select the programming language in the Code generation section.

This will immediately generate the export file with predefined settings.

Export via the Generate Documentation dialog

For more control:

  1. Go to the Home ribbon tab.
  2. Click the top part of the Generate Help button.
  3. In the Generate Documentation dialog, add a Code generation build in the build list, and choose its template.

From here, you can adjust settings such as output location, and template programming language.

Supported programming languages

HelpNDoc supports exporting topic identifiers to a wide variety of programming languages and formats. Multiple export formats are provided for each language to accommodate different coding styles, project structures, or integration requirements. For example, identifiers can be exported as constants, enumerations, classes, or dictionaries depending on how you prefer to reference them in your codebase: