Albert Y. Shih
Albert Y. Shih
Although we don't yet have a proper HPR frame, it is possible to reproject to HPR-related views using the existing machinery:  ```python import matplotlib.pyplot as plt import astropy.units as...
> This has now broken the links in the [coordinates page](https://sunpy--6267.org.readthedocs.build/en/6267/code_ref/coordinates/index.html#class-inheritance-diagram), which was working before It was actually never truly working. The links were wrong, but the RTD build for...
To illustrate what I mean: Correct URL: https://sunpy--6267.org.readthedocs.build/en/6267/generated/api/sunpy.coordinates.SunPyBaseCoordinateFrame.html Incorrect URL and fails: https://sunpy--6267.org.readthedocs.build/en/generated/api/sunpy.coordinates.SunPyBaseCoordinateFrame.html More incorrect URL but works on PR RTD build: https://sunpy--6267.org.readthedocs.build/generated/api/sunpy.coordinates.SunPyBaseCoordinateFrame.html
The above discussion applied to an earlier, attempted fix via `sphinx_automodapi`. This PR now shows that my pending PR to `sphinx` itself (sphinx-doc/sphinx#10576) fixes the links in all inheritance diagrams.
I added a fix to the fork for the external references, and it essentially works. There are a bunch of boxes that aren't clickable, but my presumption is that intersphinx...
Hmm, seems especially finicky that intersphinx is not finding some of these references, so not sure what's going on there. But, when it works, it works.
Yeah. Some of the other Astropy boxes work, so _something_ is working. I've seen Python boxes work too. But many boxes that should work do not for some reason that...
Investigation update: The sticking point is when a class is not documented where it actually lives in code space. For example, `BaseCoordinateFrame` is defined in `astropy.coordinates.baseframe.py`, but is documented only...
Sweet, my latest change to my Sphinx fork fixes all of the external boxes in the inheritance diagrams. Try it out! It may be a bit too non-trivial a fix...
I've put up a new PR to Sphinx with all of these fixes: sphinx-doc/sphinx#10614