Skip to content

Commit

Permalink
WIP
Browse files Browse the repository at this point in the history
  • Loading branch information
kislyuk committed Feb 6, 2024
1 parent 3329324 commit 3b054f3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/scripts/build-ghautodoc.py
Original file line number Diff line number Diff line change
Expand Up @@ -161,9 +161,9 @@ def get_documentables(module_node):
elif isinstance(node, ast.ClassDef) and not node.name.startswith("_"):
documentables[node.lineno] = get_node_annotation(node, "class")
for subnode in node.body:
if subnode.name.startswith("_"):
continue
if isinstance(subnode, ast.FunctionDef):
if subnode.name.startswith("_"):
continue
documentables[subnode.lineno] = get_node_annotation(
subnode, "method"
)
Expand Down

0 comments on commit 3b054f3

Please sign in to comment.