.github/update_category_docs.py
def main(
    root: Path = typer.Argument(Path.cwd(), help="Root path of repo"),
    categories: str = typer.Argument(CATEGORIES, help="Comma-separated names of categories")
):
    """
    Automatically create and/or update the README.md of each category directory
    with an overview of the available
    """
    categories = [c.strip() for c in categories.split(",")]
    msg.info(f"Updating auto-generated category docs in {root}", categories)
    for path in root.iterdir():
        if path.is_dir() and path.name in categories:
            generate_readme(path)

    Automatically create and/or update the README.md of each category directory
    with an overview of the available
    
Automatically create and/or update the README.md of each category directory
with an overview of the available
Automatically create and / or update the README . md of each category directory with an overview of the available
def main(
    root: Path = typer.Argument(Path.cwd(), help="Root path of repo"),
    categories: str = typer.Argument(CATEGORIES, help="Comma-separated names of categories")
):
    categories = [c.strip() for c in categories.split(",")]
    msg.info(f"Updating auto-generated category docs in {root}", categories)
    for path in root.iterdir():
        if path.is_dir() and path.name in categories:
            generate_readme(path)
def main ( root : Path = typer . Argument ( Path . cwd ( ) , help = "Root path of repo" ) , categories : str = typer . Argument ( CATEGORIES , help = "Comma-separated names of categories" ) ) : categories = [ c . strip ( ) for c in categories . split ( "," ) ] msg . info ( f"Updating auto-generated category docs in {root}" , categories ) for path in root . iterdir ( ) : if path . is_dir ( ) and path . name in categories : generate_readme ( path )
Automatically create and/or update the README.md of each category directory
with an overview of the available
Automatically create and / or update the README . md of each category directory with an overview of the available
"""
    Automatically create and/or update the README.md of each category directory
    with an overview of the available
    """
root
Path
categories
str