-
Notifications
You must be signed in to change notification settings - Fork 81
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
DOC: a dearth of docstrings #1767
Comments
Argh, did we not turn nitpicky on? |
Wait, we did. So how??? Line 236 in cef3a55
|
@pllim Well now I'm confused because these warnings don't appear in the RTD build. The stdout I posted above was from my local machine. |
Did you do a clean build?
|
Yes, I did a clean build. On sphinx warnings
with an env summarized by the $ pip3 freeze | grep "sphinx"
astropy-sphinx-theme==1.1
sphinx-astropy==1.7.0
sphinx-automodapi==0.14.1
sphinx-gallery==0.11.1
sphinx-rtd-theme==1.0.0
sphinxcontrib-applehelp==1.0.2
sphinxcontrib-devhelp==1.0.2
sphinxcontrib-htmlhelp==2.0.0
sphinxcontrib-jsmath==1.0.1
sphinxcontrib-qthelp==1.0.3
sphinxcontrib-serializinghtml==1.1.5 and Sphinx v5.3.0. |
What if you downgrade to Sphinx v5.1.1 and try a clean doc build again? My Sphinx is a little behind because of |
Is your install an editable install? Dev install? Stable install? |
I was using an editable install on
|
That is so weird! Obviously you have something that RTD and I both do not. But what is it? 🤯 |
Are you on a Mac? I know that sometimes Mac and Windows can be case-insensitive, causing bogus warnings in doc build. Do you have access to Linux? Can you try build the doc on Linux and see if warnings go away? |
Yes I'm on a mac, and unfortunately I don't have easy access to another platform. |
I've noticed a bunch of public classes and methods don't have docstrings in
jdaviz
, even though they are often heavily featured in the narrative docs. It'd be great if someone drafted up docstrings (and I'd be happy to volunteer).When building the docs (
cd docs && make html
), these are the classes and methods that are directly mentioned in the narrative docs but do not have a docstring:The text was updated successfully, but these errors were encountered: