Documentation using PyDoc
Paul Clinch
pclinch at internet-glue.co.uk
Thu Oct 23 15:00:11 EDT 2003
More information about the Python-list mailing list
Thu Oct 23 15:00:11 EDT 2003
- Previous message (by thread): Wanted: NYC area Python programmer
- Next message (by thread): Documentation using PyDoc
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
I am not familiar with the numarray package, but you could tweak the pydoc code.
in fact the pydoc file contains;
class HTMLDoc(Doc):
which contains a function;
def classlink(self, object, modname):
some code ...
return '<a href="%s.html#%s">%s</a>' %
( module.__name__, name, classname(object, modname))
so "numarray.html#classname" is really what is wanted.
I guess insertion of code something like;
if module.__name__ == 'numarray':
return '<a href="numarraydoc.html#%s">%s</a>' % name, classname(object, modname)
else
...
or something else suitable.
Good luck,
Paul Clinch
- Previous message (by thread): Wanted: NYC area Python programmer
- Next message (by thread): Documentation using PyDoc
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-list mailing list