-
-
Notifications
You must be signed in to change notification settings - Fork 167
References outside function #214
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
Comments
I observed the same using |
I have the same issue with version 0.9.1 for a reference in a class as well. I reverted to version 0.8.0 and all works as expected. I confirmed that the only package changed when reverting to version 0.8.0 was numpydoc. |
Are either of you comfortable enough with |
I thought I was, but your comment makes me question that. I thought that |
Argh yes, sorry. |
(I don't mean to scare you off -- it can be difficult for people totally unfamiliar with |
I'll give it a try. Although I first need to figure out how to get my environment to work with a development version of numpydoc, as I currently have it installed from pypi. Is it as simple as cloning the repo and then |
Usually I use |
(But looking at it I guess this would be functionally equivalent!) |
According to my investigation, commit c8513c5 is to blame. |
Beat me to it. This is the same commit that breaks functionality for me. |
@hoxbro do you want to open a PR to fix it? |
I still have this problem https://pytorch-mighty.readthedocs.io/en/latest/reference/loss.html |
I think your problem is related to #130, which is also commented in the documentation https://numpydoc.readthedocs.io/en/latest/format.html. |
What I was trying to say is that there have been some problems with reference in tables for a long time. If I were you I will make a new issue with a minimal working example. |
I have seen a similar problem as mentioned here. Problem is for docstrings but only for docstrings outside of functions. I have attached an example, and by running the command

sphinx-build -b singlehtml -d _build/doctrees . _build/singlehtml
l i get the following for output:If I delete

:members:
from manual.rst the docstring outside the function works as expected.Am i doing anything wrong? I'm running the newest version (0.9.1).
The text was updated successfully, but these errors were encountered: