Help+Manual allows you to combine multiple projects in modular help systems and each project can have multiple TOCs, each with their own default topic. This means you can have multiple default topics defined, but your output can only ever have one default topic. The right one to use is chosen as follows:
In modular projects only the Master defines the default topic
In modular projects only the default topic defined in the Master project is used. Any default topics set in child modules are always ignored, because child projects can be excluded.
Logic for choosing the default topic
1.If the current TOC has default topic defined it will be used.
2.If the current TOC has no default defined, the default topic defined in the main TOC is used.
3.If the main TOC has no default topic defined, the default topic defined in the . If nothing is defined there, the first topic is used.
4.If the Language Settings option is used, resolve any variables used there and use that topic if the result is a valid topic ID that exists. If the topic does not exist or is not included use the first topic in the current TOC. |