-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
Docu: Reference to root package missing in object.inv file #3645
Comments
What is |
Don't have to be. It is auto generated by your doc systems (e.g. Sphinx). Here it is (binary): https://seaborn.pydata.org/objects.inv
It is a file generated by your doc system. It can be used by other doc systems so that one doc can link to another doc just by naming the object (e.g. a class or method) instead of using a full URL.
Your Sphinx machine do look for a object.inv file in this URLs. Reference about objects.inv: https://sphobjinv.readthedocs.io/en/stable/syntax.html You as "seaborn" do offer an objects.inv. But it lacks of a root package reference. Other docus can use seaborn objects in there docstrings but not the package name itself. I don't know how to configure sphinx to acheiv this. I opened a question in Sphinx discussions. You can take a look what is inside this your objects.inv:
|
Feel free to look into it. I'll accept a simple fix to the docs configuration if you can come up with one. |
Sorry, no expertise in that and also no resources for Sphinx. |
OK, I'm going to close then. I don't consider this a bug in seaborn; third-party sites that want a reference for "seaborn" can link to the doc homepage, which makes more sense anyway. |
You are a maintainer and it is up to you of course. Compared to other packages (python, matplotlib, pandas, numpy, webcolors, openpyxl, PIL, ...) it is unusual not to have such a root reference in the objects.inv. |
As diagnosed here at pydocotor it seems that the object.inv file from seaborn miss a so called "reference to the root package".
That occur the problem that using pydoctor as API doc generator I am not able to reference "seaborn" as a package. I can reference seaborn objects (functions, methods, classes) without problems. But the package itself I can not.
The text was updated successfully, but these errors were encountered: