Child Links on First-Level Topics Only

cfurlin
Posts: 8
Joined: Wed Nov 02, 2016 1:48 am

Child Links on First-Level Topics Only

Post by cfurlin » Wed Sep 19, 2018 8:04 pm

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: 277
Joined: Mon Dec 05, 2011 6:08 pm

Re: Child Links on First-Level Topics Only

Post by ionela » Thu Sep 20, 2018 2:43 pm

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