Jean Abou Samra
unread,May 16, 2022, 7:04:05 PM5/16/22Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Sign in to report message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to sphinx...@googlegroups.com, Gee Transit
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