Link to source page (viewcode generated) from withing text
36 views
Skip to first unread message
Oriol Abril Pla
unread,
Jun 18, 2021, 12:43:26 PM6/18/21
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Sign in to report message
Show original 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-users
Hi everyone,
I use the viewcode extension to add the [source] link in API pages which is great, but I would also like to manually link directly to the source from several points of the developer guide.
Is that possible? If so how? Or is this somehow a bad idea?
I have been browsing docs, stackoverflow and github issues for a while without any luck. I was imagining some custom role like :source:`module.function` or :code:func:`module.function` would be possible.
Best,
Oriol
Komiya Takeshi
unread,
Jun 20, 2021, 12:32:23 PM6/20/21
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Sign in to report message
Show original 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
Hi,
At present, there are no such features. IMO, it would be nice if
somebody will improve the extension :-)