Page MenuHomePhabricator

param/type of the class constructor aren't shown in the documentation
Closed, ResolvedPublic

Description

epydoc hides private methods. Class constructor variables are drawn with the class itself but the documentation for the parameters are missing. Maybe this part should be moved from constructor method to the class description.

Event Timeline

Restricted Application added subscribers: pywikibot-bugs-list, Aklapper. · View Herald Transcript
Xqt triaged this task as Low priority.Mar 22 2016, 3:58 PM
Xqt added a project: Proposal.

Change 419978 had a related patch set uploaded (by Dalba; owner: Dalba):
[pywikibot/core@master] docs/conf.py: Configure autodoc to document special methods by default

https://gerrit.wikimedia.org/r/419978

Change 419978 merged by jenkins-bot:
[pywikibot/core@master] docs/conf.py: Configure autodoc to document special methods by default

https://gerrit.wikimedia.org/r/419978

Showing derived class attributes like __module__ or __weakref__ might be ok after this patch but showinf the __dict__ if the class derive from object directly Looks strange maybe because it is not formated enough.

Change 420168 had a related patch set uploaded (by Xqt; owner: Xqt):
[pywikibot/core@master] [doc] connect 'autodoc-skip-member' hook

https://gerrit.wikimedia.org/r/420168

Change 420168 merged by jenkins-bot:
[pywikibot/core@master] [doc] connect 'autodoc-skip-member' hook

https://gerrit.wikimedia.org/r/420168

Xqt claimed this task.