Repository navigation
Conversation
There was a problem hiding this comment.
Hi @ndaters,
thanks for your contribution. In this case to be honest, I would not add the link to the example at all. It is already in the Example Gallery that stats just the next line and we don't want to double reference examples in the same place. Also, when we click on the link to the User Guide in the beginning of the docstring for det_curve(), the same example also already pops up. Thus this example does not need to be further linked.
Your contribution is still very valuable though, because it brought this to our attention. As mentioned in the issue description, not all examples need to be linked and we assume that 30% don't need to.
I will leave a note saying it was checked and decided not to be linked.
I hope this doesn't feel too frustrating for your first contribution.
Thanks again, and please feel free to work on the next example.
[DOC] Add link to plot_det example in _ranking.py
This PR adds a reference link to the det example in sklearn/metrics/_ranking.py
Changes:
Added a direct link for the plot_det example
Testing:
Checked updates meet documentation guidelines
Ran local tests successfully.
Towards #30621.