Skip to content

Commit

Permalink
check docstring
Browse files Browse the repository at this point in the history
  • Loading branch information
inbalapt1 committed Jan 9, 2025
1 parent 52fbd50 commit 9786156
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions content-repo/gen_pydocs.py
Original file line number Diff line number Diff line change
Expand Up @@ -161,6 +161,10 @@ def _process(self, node):

class IgnoreDocstringProcessor(FilterProcessor):
def process(self, modules, _resolver):
for module in modules:
print(f"Module: {module.name}")
for member in module.members:
print(f" - Member: {member.name}, Member data: {member}, Docstring: {member.docstring}")
filtered_modules = []
for member in getattr(modules[0], 'members', []):
if member.docstring and 'ignore docstring' not in member.docstring:
Expand Down

0 comments on commit 9786156

Please sign in to comment.