diff --git a/wiki_gen.py b/wiki_gen.py index e46a067..a86d1c3 100644 --- a/wiki_gen.py +++ b/wiki_gen.py @@ -68,17 +68,9 @@ def generate_wiki_per_category(output_path, update_readme: bool = True): # only display top 5, then expandable for extra 5 with open(os.path.join(PROJECT_ROOT_DIR, 'README.md'), 'w') as f: - table_str = formatted_df.iloc[:5].to_markdown(index=False) - collapsible_str = """ -
- next 5 - - {} -
- """.format(formatted_df.iloc[5:10].to_markdown(index=False)) - + table_str = formatted_df.iloc[:10].to_markdown(index=False) new_str = " \n" - new_str += table_str + collapsible_str + new_str += table_str new_str += " \n" search_start = re.escape(''.format(clean_category_name))