generate_routes
Generate routes from a module.
def generate_routes(module: ModuleType) -> List[solara.Route]:
...
This is a recursive function that will generate routes for all submodules.
Note this only support .py files, since Markdown files and Jupyter notebook files are not Python modules.
See our multipage guide for more details.