Skip to content

Commit

Permalink
docs: Automatically document __init__() members of classes
Browse files Browse the repository at this point in the history
noc0lour committed Jan 7, 2025
1 parent 23f1797 commit 8fc57a9
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions docs/conf.py
Original file line number Diff line number Diff line change
@@ -14,3 +14,11 @@

author=config.author
project=config.name

def skip(app, what, name, obj, would_skip, options):
if name == "__init__":
return False
return would_skip

def setup(app):
app.connect("autodoc-skip-member", skip)

0 comments on commit 8fc57a9

Please sign in to comment.