From 7b9b9948cc7d7a39f111b0eab164568284f6c982 Mon Sep 17 00:00:00 2001 From: "Thomas A. Christensen II" <25492070+MillironX@users.noreply.github.com> Date: Mon, 10 Jan 2022 17:30:46 -0600 Subject: [PATCH] Add bolded text for parameter names Signed-off-by: Thomas A. Christensen II <25492070+MillironX@users.noreply.github.com> --- nfdocs-parser.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/nfdocs-parser.py b/nfdocs-parser.py index 1874276..9b92b0d 100755 --- a/nfdocs-parser.py +++ b/nfdocs-parser.py @@ -54,7 +54,7 @@ def params_to_table(type, params): if "tuple" in param.keys(): # Tuple title param_name_entry = nodes.entry() - param_name_entry += nodes.Text("Tuple") + param_name_entry += nodes.strong(text="Tuple") param_row += param_name_entry # Params table @@ -74,7 +74,8 @@ def params_to_table(type, params): # Parameter title param_name_entry = nodes.entry() if "name" in param.keys(): - param_name_entry += nodes.Text(f"{param['name']}({param['type']})") + param_name_entry += nodes.strong(text=param["name"]) + param_name_entry += nodes.Text(f"({param['type']})") else: param_name_entry += nodes.Text(param["type"]) param_row += param_name_entry