Le 16/05/2022 à 19:24, Gee Transit a écrit :
I have:

.. rst:directive:: foo

   .. rst:directive:option:: bar

      blah blah blah

Is it possible to link to the bar option somehow? I've tried `bar`, `:bar:`, `foo :bar:`, nd :rst:option:`bar`but they don't work :( If it's not possible to add it in Sphinx directly, is it possible to create a new role to do this?

Reading the code, it looks like you can do

:rst:dir:`bar <foo:bar>`


Best,
Jean

--
You received this message because you are subscribed to the Google Groups 
"sphinx-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sphinx-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sphinx-users/fa988a01-f177-74b6-ea4a-4338dd8580fb%40abou-samra.fr.

Reply via email to