sphinx: include __init__ methods in docs
ClosedPublic

Authored by kparal on May 7 2014, 2:00 PM.

Details

Summary

By default, Sphinx completely ignores __init__ methods. I don't
understand the reasoning behind this, because this documentation is
important to create objects properly. This patch includes __init__
docstrings in the generation documentation.

Test Plan

Tested on yumrepoinfo docs (following patch, once D85 is approved), __init__ method docstring is included.

Diff Detail

Lint
Lint Skipped
Unit
Unit Tests Skipped
mkrizek accepted this revision.May 7 2014, 2:02 PM

Looks good to me

tflink accepted this revision.May 7 2014, 2:28 PM

looks good to me

kparal closed this revision.May 7 2014, 2:37 PM

Closed by commit rLTRN782ffb5439f4 (authored by @kparal).