Like all other output formats except CHM, WebHelp only supports publish-time merging. When you publish a project containing child modules to WebHelp all the child projects are always published to a single HTML directory with a single index file and Table of Contents (TOC).
However, sometimes you may still want to set up a larger WebHelp project with a modular structure, using a separate directory and index file for each module. When you do this the WebHelp help systems in the separate output directories are referred to as "collections".
To do this you must create and edit completely separate projects. Do not use a master-child structure. Your project modules must be independent of each other. Publishing and uploading to your server:When you publish your "modular" WebHelp projects each project must be published to a separate folder. In the same way, when you upload the projects to your server you must store them in separate folders. If you upload them all to the same folder you will probably overwrite some files, resulting in errors. |
There are some important restrictions and also some important points you need to observe when working with collections and the links between them. •These are not real modular projects. You cannot insert the child modules in a master Help & Manual project. If you did this all the modules would automatically be integrated in a single output folder, which is not what you want here. Separate "modules" must be opened and published as separate projects. •You can link between collections but you cannot merge their TOCs. •You cannot create links to the target topics in the project files of the other projects because Help & Manual cannot manage links between collections across directory boundaries. You must use Internet links, inserting the correct URLs and/or paths between your planned directory locations yourself. |
•Open each project and publish it separately, to a separate directory. A WebHelp project like this in its own directory is called a "collection". •Make sure that you manually enter a different output directory for each project in the Index Page: field of the Publish dialog. It is good to check this to make absolutely sure that you are not publishing everything to the same directory. |
Do not try to use normal topic links for hyperlinks between WebHelp projects output to separate directories. This will not work! Use Internet links (see below for syntax). In the Target window: field of the Hyperlink dialog select:
|
The standard syntax for links between collections is as follows: index.html?topic_id.htm#anchor
|
See also: