You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It would be very helpful if we could enable automatic intersphinx references in all code snippets (doctest-style snippets in method docstrings and rST blocks like .. code-block:: python).
I don't currently know of a way to do this, but it may be possible with sphinx-gallery or another tool.
I added sphinx-codeautolink to signac-dashboard. I found that it wasn't as helpful for signac or signac-flow. The structure of our docs and their code examples is pretty incomplete, meaning that there aren't many (any?) helpful links. We would need to revise the documentation examples to be fully executable snippets (including imports, etc.) in order to see a benefit from this.
Activity
redeboer commentedon Jan 30, 2022
Incidentally ran into this issue while googling. Seems that the new sphinx-codeautolink does the job!
bdice commentedon Jan 30, 2022
@redeboer Wow! Thanks for letting us know! I will give it a try!
bdice commentedon Apr 23, 2022
I added sphinx-codeautolink to signac-dashboard. I found that it wasn't as helpful for signac or signac-flow. The structure of our docs and their code examples is pretty incomplete, meaning that there aren't many (any?) helpful links. We would need to revise the documentation examples to be fully executable snippets (including imports, etc.) in order to see a benefit from this.