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
Intersphinx objects.inv borked #19788
Comments
I'm not sure how intersphinx works. What would need to be changed to affect that? |
Intersphinx expects an |
Presumably this is handled in the docs repo: |
Is the intersphinx for https://docs.sympy.org/dev working correctly? Perhaps there was a bug when building the 1.6.1 docs. Maybe rebuilding them with the latest Sphinx and copying the objects.inv will fix it? |
Using And yes, a rebuild against the current stable Sphinx (3.1.2 today) and its Is there some way that, pre the next release, a test for a correct (and correctly located) objects.inv can be added to the testing cycle? Just to be clear: we're not talking about a rebuild of the Sympy docs at the user end are we? |
I mean we should manually patch the docs repo https://github.com/sympy/sympy_doc.
If we can figure out how to make a test for that, we should do it. Although I'm unclear how this broke. Was it a bug in Sphinx or some issue with our configuration? |
To recap how this broke: From what (little) I understand of Sphinx, it simply requires that inventory Since there is currently no such file there, users will logically try e.g. So, whatever is done at the Sympy end when building the Sphinx docs it's imperative (?) it produces and places I don't think it's a bug, so much as an oversight in the way Sphinx is deployed. I wish I could be more helpful: I'm only a consumer of Sphinx and Intersphinx, and I've yet to have to build my own |
I see #19430 had changed the way sympy reference in immutable matrix, so maybe it can be related. |
What page exactly does it link to?
Yes, that looks like the fix. I guess that it links to the modules page i.e.: Is that what we want? |
It links to https://docs.sympy.org/dev/modules/index.html#module-sympy
Yes, I believe it is. Thanks!!! |
I'm thinking about a 1.6.2 release. If you want to open a PR that applies the fix from #19430 to the 1.6 branch then this will be fixed when I rebuild the docs for the new release. |
I'm going to release 1.6.2. If anyone wants to submit a PR for this then we can fix it in that release |
Everything else for 1.6.2 is resolved so if anyone wants to open a PR backporting the fix for this to the 1.6 branch then this will be fixed when 1.6.2 is released (very soon). |
Wait, so are you saying it has to be at the base of the URL, not a sub-URL? That seems extremely restrictive. There are a lot of examples of documentation that only exists at sub-URLs. For instance, any project documentation hosted on GitHub pages without a custom URL will be at |
Also, the 1.6.1 slug is there on accident. There should only be |
I think this is fixed in #19881. The fix won't show until I do the release and then update the docs though |
@cstarkjp can you confirm whether this is still an issue? |
I'll be able to check again in a day or two |
Thanks. I'm preparing to release 1.7 so if this isn't fixed it would be good to get it fixed before the release |
@cstarkjp I think this should be fixed if you test with the dev docs URL: https://docs.sympy.org/dev/ Hopefully it will get fixed for the main docs when I update the docs repo after releasing 1.7. I'm not really sure how to test it though... |
No, Take a look at my PyOhio 2019 talk on intersphinx, especially starting around 12:00, for what's going on with the interplay between |
@cstarkjp is it possible to verify if the issue is fixed using the dev docs URL? Otherwise I guess we won't know until I push the new docs after the release. |
Is this fixed now? |
I believe so!
… On Jun 28 2022, at 05:46 jptyo, Oscar Benjamin ***@***.***> wrote:
Is this fixed now?
—
Reply to this email directly, view it on GitHub <#19788 (comment)>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/AA4MWBLX25WYJSGAOTRHTETVRIHLXANCNFSM4O5TDNHA>.
You are receiving this because you were mentioned.
|
Thanks @cstarkjp. I'll close this now. Please say if you find a new problem. |
In 1.6.1, the following intersphinx:
'sympy': ('https://docs.sympy.org/latest', None)
links to
https://docs.sympy.org/1.6.1/modules/matrices/immutablematrices.html#module-sympy
but should presumably link to:
https://docs.sympy.org/1.6.1/index.html
The text was updated successfully, but these errors were encountered: