Hi Peter,

In general it's a best practice to refer all DITA resources in your DITA Map, including topics which only contain reusable content.

For such topics one would usually set this processing-role attribute on the topicref:

<topicref href="reusables.dita" processing-role="resource-only"/>
A resource only topic automatically does not appear in the TOC and should also not be indexed by our WebHelp search engine. So in a way this would be the equivalent of setting the TOC=no and Search=no attributes.

Regards,

Radu

Radu Coravu
Oxygen XML Editor

On 1/15/24 16:17, Peter Shauger wrote:
I may have answered my own question...
I'm not sure if this is the proper solution, or just one of the possible solutions, but here's what I ended up doing:
- I created a new map
- added all my conref source files to that map
- set map properties TOC=no and Search=no
That worked!


    ------------------------------------------------------------------------
    *From: *Peter <pshau...@tomsawyer.com>
    *To: *oxygen-user <oxygen-user@oxygenxml.com>
    *Date: *Monday, 15 January 2024 12:30 AM EST
    *Subject: *[oXygen-user] excluding conref source files from search
    results

    Hi,
    How do I make it, so that a conref source file does not appear in
    search results?
    This file is not otherwise in the TOC. It is ONLY used as conref
    source.
    Peter Shauger
    Senior Technical Writer
    Tom Sawyer Software <https://www.tomsawyer.com/>



_______________________________________________
oXygen-user mailing list
oXygen-user@oxygenxml.com
https://www.oxygenxml.com/mailman/listinfo/oxygen-user
_______________________________________________
oXygen-user mailing list
oXygen-user@oxygenxml.com
https://www.oxygenxml.com/mailman/listinfo/oxygen-user

Reply via email to