[Epydoc-devel] problem linking to variables
Brought to you by:
edloper
|
From: David H. <dmh...@ma...> - 2006-06-15 23:25:47
|
Hello,
The following doesn't seem to work:
============ snip
""" This module has a variable called L{x}. """
#: My favourite variable.
x = 5
def func():
""" Where is L{x}? """
pass
============ snip
The variable x correctly gets its own entry in the HTML output, so
epydoc has definitely found it, but neither of the links to x appear;
the x just gets placed as ordinary text.
What am I doing wrong?
I'm running epydoc 3.0 alpha 2 on python 2.4.1 on mac os x 10.4.6.
I also poked around the epydoc documentation to see if there were any
examples of this usage, and indeed it looks broken there too. For
example, the documentation for the docstringparser module (http://
epydoc.sourceforge.net/api/toc-epydoc.docstringparser-module.html)
has a link to the variable STANDARD_FIELDS in the second paragraph,
but it doesn't show up as a link to the variable info that appears
later on the page.
Thanks
David
|