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

BUG: DOCS incorrect source link on docs #15636

Closed
swallan opened this issue Feb 22, 2022 · 1 comment · Fixed by #15637
Closed

BUG: DOCS incorrect source link on docs #15636

swallan opened this issue Feb 22, 2022 · 1 comment · Fixed by #15637
Labels
defect A clear bug or issue that prevents SciPy from being installed or used as expected Documentation Issues related to the SciPy documentation. Also check https://github.com/scipy/scipy.org
Milestone

Comments

@swallan
Copy link
Contributor

swallan commented Feb 22, 2022

Describe your issue.

When I click source on mannwhitenyu, Screen Shot 2022-02-21 at 9 34 21 PM

it takes me here,

def is_too_small(samples):

to the NaN policy functions.

when I think it should probably be here:

def mannwhitneyu(x, y, use_continuity=True, alternative="two-sided",

The same thing happens with Wilcoxon, but I haven't look extensively for others with the same issue

Reproducing Code Example

N/a

Error message

N/a

SciPy/NumPy/Python version information

1.8 docs online

@swallan swallan added defect A clear bug or issue that prevents SciPy from being installed or used as expected Documentation Issues related to the SciPy documentation. Also check https://github.com/scipy/scipy.org labels Feb 22, 2022
@mdhaber
Copy link
Contributor

mdhaber commented Feb 22, 2022

Yes, this is something I've noticed - Sphinx doesn't know how to find the original function to which a decorator was applied. I've meant to figure out some way of telling it where to go manually. @tirthasheshpatel any thoughts?

There are a few other issues I noticed with the [source] link:

  • It's missing for all the scipy.stats.sampling classes.
  • It doesn't know what lines distributions classes are defined on.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
defect A clear bug or issue that prevents SciPy from being installed or used as expected Documentation Issues related to the SciPy documentation. Also check https://github.com/scipy/scipy.org
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants