Child Links on First-Level Topics Only

Post here questions and problems related to editing and publishing DITA content.
cfurlin
Posts: 9
Joined: Wed Nov 02, 2016 1:48 am

Child Links on First-Level Topics Only

Post by cfurlin »

Is it possible to auto-generate child links on only first-level topics in a map.

For example:

Code: Select all

Topic A
|______Topic 1
|______Topic 2
|______Topic a
|______Topic b
|______Topic 3
Topic B
Where Topic A and Topic B would have child links, but not Topic 2.

TIA

Chris
ionela
Posts: 407
Joined: Mon Dec 05, 2011 6:08 pm

Re: Child Links on First-Level Topics Only

Post by ionela »

Hi,

Unfortunately, there isn't an easy default way to achieve using a parameter so something similar. There is a parameter in the DITA Map WebHelp Responsive transformation scenario named 'webhelp.show.child.links', but if it is set to 'yes' the child links component appears for all topics (not only for the first level one).
You might achieve this result using a CSS customization, by showing all child links and then hide some of the components from the output (this customization requires CSS knowledges). You can find more details about how to customize the output using CSS in our user manual:https://www.oxygenxml.com/doc/versions/ ... h-css.html

Regards,
Ionela
Ionela Istodor
oXygen XML Editor and Author Support
Post Reply