Child Links on First-Level Topics Only

cfurlin
Posts: 5

Child Links on First-Level Topics Only

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: 243

Re: Child Links on First-Level Topics Only

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/20.1/ug-webhelp-responsive/topics/webhelp-customizing-with-css.html

Regards,
Ionela
Ionela Istodor
oXygen XML Editor and Author Support

Return to “DITA (Editing and Publishing DITA Content)”

Who is online

Users browsing this forum: No registered users and 0 guests