The root node is actually specified as a conceptual content document.
- Make sure the documentation project has a Content Layout document.
Create a new conceptual content document named
MSHelpViewerRoot.aml
in the documentation project using the Conceptual template. The contents could look something like this (replace[Guid]
with a generated GUID and[My Topic]
with your content topic):<?xml version="1.0" encoding="utf-8"?> <topic id="[Guid]" revisionNumber="1"> <developerConceptualDocument xmlns="http://ddue.schemas.microsoft.com/authoring/2003/5" xmlns:xlink="http://www.w3.org/1999/xlink"> <introduction> <para>Welcome to the [My Topic] Reference</para> </introduction> <section> <content> <para>Select a topic from the table of contents.</para> </content> </section> <relatedTopics/> </developerConceptualDocument> </topic>
Add the
MSHelpViewerRoot.aml
conceptual content to the Content Layout document.- Under Topic Properties, specify
[My Topic] SDK
as the Title - Under Topic Properties, check the box for Use as MS Help Viewer root container
- Under Index Keywords, add an entry with Index
K
and Term(s)[My Topic] SDK
- Under Topic Properties, specify
The resulting configuration might resemble the following:
As a final note, in additional to the root node, you may want to do the following:
- Create a
Welcome.aml
conceptual content document- Add a link to the Welcome document in the
<relatedTopics>
element ofMSHelpViewerRoot.aml
- Set
Welcome.aml
as the Use as the default topic element in the Content Layout settings
- Add a link to the Welcome document in the
- Add a
License.aml
conceptual content document