I have a method, and in the docsrting of this method I have references. I then want to alias the method. Something like this:
class Class(object): def method(self): r""" REFERENCES:: .. [ABC123] A, B and C in 123, 123. """ alias = method This freaks sphinx out, and it warns: docstring of sage.......Class.method:123: WARNING: Duplicate explicit target name: "abc123". Am I doing something wrong? Any better way of defining aliases? I have followed the alias of adjacency_matrix (am) defined in generic_graph.py. Thanks, Peleg. -- You received this message because you are subscribed to the Google Groups "sage-devel" group. To unsubscribe from this group and stop receiving emails from it, send an email to sage-devel+unsubscr...@googlegroups.com. To post to this group, send email to sage-devel@googlegroups.com. Visit this group at https://groups.google.com/group/sage-devel. For more options, visit https://groups.google.com/d/optout.