How can I link directive with :doi: or :arxiv: in Rst.
I'm making a document with Rst, but when I try to link with arxiv, it shows broken link.
What I tried is below but not working.
<:doi:`10.1145/2487575.2487591>`
or
:arxiv:`1309.0238`
The doi
example can be addressed by using the extlinks Sphinx extension, by adding these contents to conf.py
:
extlinks = {
'doi': ('https://dx.doi.org/%s', 'doi:'),
}
(Source)
And for arxiv
, something similar.
For a more generic case, you would need to either