Hide a topic from the table of contents - Fluid Topics - Latest

DITA Connector Reference Guide

Category
Reference Guides
Audience
public
Version
Latest

In a DITA publication, it is possible to remove topics from the table of contents while keeping them in the document.

To hide a topic from the table of contents, use the DITA attribute toc="no" in the DITA map.

Example

In the following example, we want to only show topic 1 and topic 3 in the table of contents:

<chapter>
    <topicref href="topic_01_.xml"/>
    <topicref href="topics_02.xml" toc="no"/>
    <topicref href="topic_03.xml"/>
</chapter>

It is not possible to hide the first topic of a document.