The easiest way to manage templates is by using the template editor. The template editor can be used to create, rename, modify and delete all kinds of templates.
It can be accessed using the "Template Editor" button from the "Templates" group in HelpNDoc's "Tools" ribbon tab.
The template editor is used to manage all kinds of templates:
- The template selection lists all templates available on the current computer. To manage a specific template, select it in that list.
Standard templates (included with HelpNDoc's installation) are marked as such: they can't be edited;
- The create template button can be used to create a new template of any kind: select the template kind and enter a unique name to create that template;
- The duplicate template button can be used to duplicate the currently selected template. This can be useful to create a small variation of a template or test some modifications without altering the original template;
- The rename template button can be used to rename the currently selected template. HelpNDoc will make sure the newly entered name is valid and unique;
- The delete template button can be used to delete the currently selected template. Warning: this action will permanently delete the selected template from the current system and this action can't be undone;
- The open template location button can be used to open the template using Windows Explorer and edit it from there. Note: the template editor will be closed to avoid problems due to edition in multiple places.
Customizing a template
Once a template is selected in the template editor, various customizable sections are available. Those sections differ based on the kind of templates currently being selected.
Note: Standard templates, which are included with HelpNDoc's installation are read-only and can't be modified.
- HTML based templates: the general settings, variables, script files and assets can be customized. HTML based templates include the following documentation formats: CHM, HTML, ePub, Kindle and Qt Help;
- Word and PDF templates: the page settings, cover page, headers, footers, table of contents and topic titles can be customized.