question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Collection-Type-Default setting missing?

See original GitHub issue

Expected Behavior

In the pdf output i want to have reltable linkage between topics, and no automatic parent / child linkage (if not specified explicitly by <topicref href="topics/intro/concepts-intro.dita" collection-type="...">

So by default i want to have no parent / child linkage, only when specified via attribute collection-type. But i want all reltable links to appear.

Actual Behavior

This is not possible currenlty, since either i set --args.rellinks=all

which will include parent & child links, or i set --args.rellinks=none which will exclude my reltable links. If i specify --args.rellinks=nofamily will prevent the explicitly requested links <topicref href="topics/intro/concepts-intro.dita" collection-type="choice"> to appear.

Possible Solution

I would expect that the --args.rellinks= (or any other option) only specifies the default value for the collection-type if not set for a topic, so it can be defined per-topic wise.

Environment

Tested on dita-ot 3.1 and 3.3 on Linux Ubuntu 19.10.

Issue Analytics

  • State:open
  • Created 4 years ago
  • Comments:10 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
infotexturecommented, May 11, 2020

In the pdf output i want to have reltable linkage between topics, and no automatic parent / child linkage … only when specified via attribute collection-type.

In the docs we have the same use case, and use the internal propertyinclude.rellinks = friend to achieve the desired result.

It might make sense to extend the args.rellinks parameter description with a cross-reference to the list of valid link roles in include.rellinks and explicitly list which roles are active for each value. (Some roles may require further explanations as well).

0reactions
thendarioncommented, Sep 9, 2020

the attribute/property is fine, I believe

if you look at the generated dita in the temp folder, it has links

but when you look at the generated fo, it has no links 😦

@jelovirt any immediate ideas? 😄

Read more comments on GitHub >

github_iconTop Results From Across the Web

CollectionType elements missing data - php - Stack Overflow
I've embedded forms with CollectionType: $builder->add('battlePages', CollectionType::class, [ 'label' => 'Battle Pages', ...
Read more >
Missing an entry on setting default values in Symfony Forms
I think the topic of default values in the fields is not tightly connected to the documentation of the form types themselves. I...
Read more >
Create a default Site collection Term Set if none is present
This article describes how to create a default Site collection Term Set if none is present.
Read more >
why "Site Page" content type is missing the options under its ...
Keeping in mind if I create new site collection (also of type classic team site) the “Site Page” content type will be unsealed...
Read more >
How to Fix: Default Kit Missing Error - Elementor
The way to solve this error is navigating to Elementor > Tools > General Tab. Here you will see an option to Recreate...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found