Hello,

I am writing documentation for Psycopg (yay!) using Sphinx and I have
a problem with links between methods in the same class.

>From Sphinx documentation [1] I read that i can refer to methods in
the same class using the :meth: role without specifying the class
name. I see the feature used e.g. in the Python doc for Thread.join()
[2], where references :meth:`isAlive` are converted in a link.

I tried to use the feature, but no link is created: for instance in
[3] I tried to use :meth:`fetchmany` but no link is created, unless I
use explicitely :meth:`cursor.fetchmany`. :meth:`.fetchmany`doesn't
work either. No warning is issued either.

Can you explain why is this happening? I'm using Sphinx 0.6.4 with a
conf script mostly generated by sphinx-quickstart.

Shouldn't a warning be issued when using cross reference rules and the
target object is not found?

Thank you very much.

[1] http://sphinx.pocoo.org/markup/inline.html#cross-referencing-syntax
[2] http://docs.python.org/library/threading.html#threading.Thread.join
[3] http://piro.develer.com/psycopg2-doc/cursor.html#cursor.arraysize

-- 
You received this message because you are subscribed to the Google Groups 
"sphinx-dev" group.
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