Skip to content
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

Wrong source link when using @patch #939

Closed
thigm85 opened this issue Aug 26, 2022 · 1 comment
Closed

Wrong source link when using @patch #939

thigm85 opened this issue Aug 26, 2022 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@thigm85
Copy link

thigm85 commented Aug 26, 2022

PR #692 reintroduced source links on the documentation, which is great. But it seems to fail when using @patch to add methods to a class.

Example: The source link of PassageData.save links to https:/thigm85/learntorank/blob/main/learntorank/passage.py#LNone instead of https:/thigm85/learntorank/blob/main/learntorank/passage.py#L125.

@jph00 jph00 added the bug Something isn't working label Aug 26, 2022
@jph00 jph00 self-assigned this Aug 26, 2022
@jph00 jph00 closed this as completed in 5dbb3f7 Aug 26, 2022
@jph00
Copy link
Member

jph00 commented Aug 26, 2022

Many thanks for the clear issue. Should be sorted in master now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants