Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

#10 links to baseclasses not in current file

closed-out-of-date
Doug Hellmann
None
5
2003-01-18
2001-07-30
Jörg Henrichs
No

Hi

happydoc will only put a link to a baseclass (at least
with the html formatter) if the baseclass is included
in the current file, otherwise only the name of the
baseclass (and no link) will be written.

This patch will enable happydoc to write a link to the
baseclass on most cases - the only exceptions are:

1) if the name of the baseclass is not unique, a link
to the wrong baseclass might be used.

2) If you use packages (and not the
'docset_usePackages=0' flag), baseclasses which are not
in the current package or in a subpackage of the
current package will not be found).

Instructions:
This patch has to be applied to the file
.../docset/docset_multiplefile.py, e.g.:
cd <happydocroot>/docset; patch <patchfile

If you have any problems, let me know.

Cheers
Joerg

Discussion

  • Jörg Henrichs
    Jörg Henrichs
    2001-07-30

     
    Attachments
  • Doug Hellmann
    Doug Hellmann
    2003-01-18

    • assigned_to: nobody --> doughellmann
    • status: open --> closed-out-of-date
     
  • Doug Hellmann
    Doug Hellmann
    2003-01-18

    Logged In: YES
    user_id=34486

    The dotted name lookup code in the PackageTree data
    structure used in 3.0 makes this patch obsolete. The new
    code also resolves the problems indicated with this patch,
    so that all known names can be converted to links in the output.