Page 1 of 1

Child Links on First-Level Topics Only

Posted: Wed Sep 19, 2018 8:04 pm
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

Re: Child Links on First-Level Topics Only

Posted: Thu Sep 20, 2018 2:43 pm
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