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

-- 
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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sphinx-users/de3d8b5d-b659-40f7-ba03-b2f82bbf748en%40googlegroups.com.

Reply via email to