Add notes on notebook to documentation links to doc dev guide #1061
Labels
contributor guide
docs
PlasmaPy Docs at http:https://docs.plasmapy.org
priority: high
Issues & PRs with significant urgency and importance that should be addressed soon
Milestone
To quote a great summary:
I think a developer docs page on how to do the links in notebooks is a good idea, since they really improve the documentation but are annoying to create! The learning curve is steep since you have to commit and wait for CI to run to get feedback on whether you're doing it correctly. For the record, here are three examples that finally worked:
For a function
For a class
For a method of a class
For an external website
It would be worth explaining where the
api/
files are created. These paths are relative to the mainnotebooks
directory: if the notebook is in a sub folder (eg.cartesian_grids.ipynb
which is innotebooks/plasma/
) an additional../
is required to get back to theapi/
directory.Originally posted by @pheuer in #1054 (comment)
The text was updated successfully, but these errors were encountered: