I would think this would be a common desire but I haven't figured out how 
to do it.

I have a python module which I've documented with sphinx.  I also have an 
"example script" -- well ok, it's a real script, and I want to 
literalinclude it (ideally with linenos) but have all the method calls 
actually link to the documentation of the method, etc.  Is that possible? 
 I am happy to give it cues (e.g. this object A is an instance of X, so 
A.method() should link in the same way as :py:meth:`X.method`), 
search/replace style...

Thanks for any tips!
-Lisa

-- 
You received this message because you are subscribed to the Google Groups 
"sphinx-dev" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/sphinx-dev/-/w3wSuQBUPOkJ.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/sphinx-dev?hl=en.

Reply via email to