On Thu, Nov 29, 2012 at 10:34 AM, Michael Schlenker <[email protected]> wrote: > Hi everyone, > > is there an easy way to get the source line/file for the references in > an objects.inv file?
I'm not sure if there is an easy way to do this. The objects.inv just maps object names to URIs in the generated html file. If your interested in generating a mapping of reference labels to their source in the reST file, you might be able to use/extend Martin Bless's sphinx extension "t3sphinx.ext.targets" [1]. For a mapping of object names to their location in Python source files, the sphinx.ext.viewcode extension might be a useful starting point. [1] https://groups.google.com/d/topic/sphinx-users/KangY0SgvKk/discussion -- Jonathan Waltman -- You received this message because you are subscribed to the Google Groups "sphinx-users" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. Visit this group at http://groups.google.com/group/sphinx-users?hl=en.
