-
Notifications
You must be signed in to change notification settings - Fork 46
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
two classes with the same name confuse pydoctor #33
Comments
(by mwhudson) |
(by lifeless) |
I'm having this issue with a Module name and a Class name here: https://chorsley.github.io/python-Wappalyzer/Wappalyzer.html |
Now, I'm actually running into this bug with class 'Arena' from https://github.com/python/cpython/blob/master/Lib/multiprocessing/heap.py I was trying to convert cpython API output to Dash compatible file with doc2dash and i ran into:
Now it looks like both classes do not appear in the module documentation. BUT rather they both appear in the name index. This is a really tricky issue, but I think both class documentation should end up in the same class page. |
Here is another instance of this issue, https://tristanlatr.github.io/python-igraph/igraph.summary%200.html It's a little bit more sneaky since the is no other module named |
(This issue is most probably a duplicate of #17) |
If two classes are defined in a file with the same name (e.g. one defined in an 'except' block, and the other in an 'else' block), pydoctor appends a number to the end of the generated name which links to nothing.
Generated docs:
http://twistedmatrix.com/documents/10.2.0/api/twisted.web.client.html
Source:
http://twistedmatrix.com/trac/browser/tags/releases/twisted-10.2.0/twisted/web/client.py#L567
Imported from Launchpad using lp2gh.
The text was updated successfully, but these errors were encountered: