Skip to content

Commit 3861986

Browse files
authored
Update stats.py
1 parent 9ffa4d0 commit 3861986

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

aws_doc_sdk_examples_tools/stats.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77

88
def main(roots: List[str]):
99
base = DocGen.empty()
10+
all_stats = []
1011
for root in roots:
1112
docgen_root = Path(root)
1213
doc_gen = base.clone().for_root(docgen_root)
@@ -20,6 +21,9 @@ def main(roots: List[str]):
2021
print(f"Snippets {stats['snippets']}")
2122
genai = pformat(dict(stats["genai"]))
2223
print(f"GenAI {genai}")
24+
stats['root'] = docgen_root.name
25+
all_stats.append(stats)
26+
return all_stats
2327

2428

2529
if __name__ == "__main__":

0 commit comments

Comments
 (0)