sphinx-tabs
sphinx-tabs copied to clipboard
Reference to code-blocks/images
We use sphinx-tabs in the Open Source project ONAP by the Linux Foundation.
When we try to reference code-blocks or images in tabs it just works when the referenced tab is open. When another tab is open unfortunately it doesn't work. Is there any possibility to fix this?
Code Example:
:ref:`ref code <ref_code>`
.. tabs::
.. tab:: Tab 1
.. tab:: Tab 2
.. _ref_code:
.. code-block::
hello world
You can check issue #47 if the solution there can work for you.
Hi Stefano, thanks for your answer.
You're right Issue 47 focuses on the same problem. A way to reference to the tab with :ref: like it is mentioned in the last message would also help us a lot. Showing the tab trough URL doesn't help us that much unfortunately.