-
-
Notifications
You must be signed in to change notification settings - Fork 401
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
Links to the sections of the reference manual #525
Comments
Isn't the correct thing to use a proper sphinxdoc referencing mechanism. Something like :class: |
That is exactly what I used to discover this issue. Such a sphinx directive translates into the sort of link example I gave above. Edit: Here is a concrete example of what I tried: |
I've implemented some javascript to ensure that the section gets expanded when you link to it. Both the class: http://dev.holoviews.org/Reference_Manual/holoviews.core.html#holoviews.core.HoloMap and the method: http://dev.holoviews.org/Reference_Manual/holoviews.core.html#holoviews.core.HoloMap.clone now work. Closing. |
Functions still don't work. Will look at that later. |
Nevermind, just realized functions aren't collapsed anyway. |
One issue with writing developer documentation is that links to the reference manual don't work properly.
For instance, getting the link for
Cycle
(these links are available by clicking on the little icon when you hover over entries) will jump to that entry but not expand it:http://holoviews.org/Reference_Manual/holoviews.plotting.html#holoviews.plotting.Cycle
Linking to methods is worse because you don't jump anywhere at all. For instance:
http://holoviews.org/Reference_Manual/holoviews.plotting.html#holoviews.plotting.renderer.Renderer.export_widgets
Note that these links work fine if you stay on the page and manually expand the relevant sections. It would be really helpful if it could also work with external links!
The text was updated successfully, but these errors were encountered: