From 676f2f3e88811b7c90c69e13138ae92a3fc904ce Mon Sep 17 00:00:00 2001 From: Hengyu Ai Date: Mon, 10 Jun 2024 23:56:27 +0800 Subject: [PATCH] feat: prettier output --- gen_index.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/gen_index.py b/gen_index.py index 55e1aa4..58a97dc 100644 --- a/gen_index.py +++ b/gen_index.py @@ -216,7 +216,8 @@ def main(base_file: str, output_file: str, file_dir: str): '--output', '-o', help='Output YAML file', default='mkdocs.yaml') arg_parser.add_argument( '--dir', '-d', help='Markdown file directory', default='docs/guide/') + print("Generating nav section...") main(arg_parser.parse_args().base, arg_parser.parse_args().output, arg_parser.parse_args().dir) - print("Finished generating nav section in mkdocs.yaml") + print(f"Generation complete. Output file: {arg_parser.parse_args().output}")