-
Notifications
You must be signed in to change notification settings - Fork 10
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add option to item-directive to hide specific relation-types #389
Conversation
Can you also add a test for your new feature? Should be something short, where no-show would not have link relationship there, while without it by default it would (be asserted). Maybe |
I'll check if i can add a test for it, and consider another name. Not a fan of 'hiderelationship' as you might want to reuse it for hiding attributes as well in the future. Use case: I have documentation items for every release, and for every feature that we implement. Those link to eachother to mark which features go into which release. We also have documentation items for the V-model stuff (requirements, design, test, ...). The V-model-items link to the feature-item that impacts (added/altered) the feature implementation. So that way, we have some sort of history in our V-model doc. Now, you can imagine that the feature-items can have a lot of links as they link to everything in the V-model documentation. To make those links easier to interpret, i added an item-matrix for every layer in the V-model: feature to requirement, feature to design, feature to test, ... These tables give more sorted output and is more organized compared to what we see on the item rendering itself. So i want to hide (or notshow ;-) ) the relations to the V-model on the epic, to remove this clutter. |
If I am looking over the docs then we have a lot of Looking deeper, we also do have In traceability we have |
I think Still working on a new test... |
Co-authored-by: Crt Mori <[email protected]>
Hi Stein! I hope you are well. Thank you for contributing. We never use the term "link" in the name of an option. I am strongly in favor of
|
i think all comments are handled, i also added a test. this became an end-to-end test running sphinx completely, as i didn't want to be bothered implementing a test cycling through the docutils objects... |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Love the whole sphinx path test. Thanks for your contribution and for improving our test coverage 😉
I will let Jasper do another review as he had more comments, but LGTM.
Add option to item-directive to hide specific relation-types in the rendered item definition.