Closed
Description
Expected Behavior
Since by default pdoc3 ignores __init__(self)
functions of classes, a docstring of an __init__(self)
function should not appear anywhere in the generated documentation.
Actual Behavior
The whole docstring of the __init__(self)
function is appended (nicely formatted) to the documentation of the class.
Steps to Reproduce
class TestDoc:
"""Test the docs.
"""
def __init__(self, a):
"""Init the class.
Some more info that is NOT supposed to show up in the documentation of the `TestDoc` class.
"""
self.a = a
Additional info
- pdoc version: 0.9.1