Hide short description in topic file

catherine
Posts: 60

Hide short description in topic file

Wed Dec 20, 2017 10:55 am

Hi,
I write short description in my first-level topic, so the short description will display below the webhelp title.
But, I want to hide the short description in the topic, just like oxygen webhelp.

short description displays below the title.
For example, below the title "getting started", the short description is "Information and resources to help you get started using Oxygen XML Editor as quickly as possible".
https://www.oxygenxml.com/doc/versions/ ... index.html

but this short description should not display in the topic "getting started"
https://www.oxygenxml.com/doc/versions/ ... intro.html

How to achive this?
Radu
Posts: 5689

Re: Hide short description in topic file

Wed Dec 20, 2017 11:09 am

Hi Catherine,

Here's how we do it in our user's manual DITA Map:

Code: Select all

  <topicref href="../topics/getting-started-intro.dita" collection-type="sequence">
    <topicmeta>
      <shortdesc>Information and resources to help you get started using <ph keyref="product"/> as
        quickly as possible</shortdesc>
    </topicmeta>


so basically we define the shortdesc in the DITA Map instead of placing it inside the topic.
Or you could leave the shortdesc in the topic and maybe write a custom CSS selector to hide it.

Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
catherine
Posts: 60

Re: Hide short description in topic file

Thu Dec 21, 2017 3:37 am

Great! Thanks. Radu!

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

Who is online

Users browsing this forum: eccc and 0 guests