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
Hi there.
Great Sphinx extension.
I've tried using standard sphinx link reference labels of the form .. _my-ref-label: within the content of a tab: object as I would like the relevant tab to be opened when reader clicks through to page containing the tab. This doesn't work though as the links don't get picked up. Any ideas on how I might do this?
Regards
Sharon
Reacted by Austin Shalit, Santos Gallegos and Derek Ardolf
Thanks for the request, I'll see what I can do. Might be tricky though as the extension doesn't currently get which tab is active from the URL (which it would need to do) and the label would need to somehow work out which tab it is referring too and include that in the URL.
Hello, I wonder if there has been any work in this direction, being able to add tabs to a table of content and generate links to them would be an awesome improvement to this extension.
I remember seeing in the past a post that mentioned other similar extensions that have that ability. Is anyone aware of them? Of course my preference would be to use sphinx-tabs but it is a bit awkward to tell someone who is looking into your documentation to navigate to page such and such and click on this or that tab. Having a link so that the page will open with a given tab open would be much more desirable.
Activity
djungelorm commentedon Sep 10, 2019
Thanks for the request, I'll see what I can do. Might be tricky though as the extension doesn't currently get which tab is active from the URL (which it would need to do) and the label would need to somehow work out which tab it is referring too and include that in the URL.
stsewd commentedon Apr 7, 2020
I ended up writing a small js script to allow expanding a tab from a URL (
docs.example.com?tab=Some Tab Title)readthedocs/readthedocs.org@738b6b2
It would be ideal that sphinx-tabs generates a target to use it with the
:ref:role or something like that.rdauria commentedon Apr 27, 2022
Hello, I wonder if there has been any work in this direction, being able to add tabs to a table of content and generate links to them would be an awesome improvement to this extension.
I remember seeing in the past a post that mentioned other similar extensions that have that ability. Is anyone aware of them? Of course my preference would be to use sphinx-tabs but it is a bit awkward to tell someone who is looking into your documentation to navigate to page such and such and click on this or that tab. Having a link so that the page will open with a given tab open would be much more desirable.