HelpNDoc will automatically generate links to topics and anchors for you. By default, it assumes that topics will be generated in a file called "%helpid%.html" where "%helpid%" is the value of the help id of that topic. However, this is not always the case so HelpNDoc provides a way of customizing the format of the generated topic and anchor links. They can be modified in the "config" section of the template.info file. Here is a sample:

linkformattopic=#%helpid%
linkformatanchor=#%anchorname%

The possible variables to be used in the topic and anchors link formats are:

  • %topicid% - The internal HelpNDoc's managed unique topic id
  • %helpid% - The topic's help id value
  • %anchorname% - The name of the anchor as specified in HelpNDoc, if any