From d816084d21a2389ea4b5cec38f5298895ca09256 Mon Sep 17 00:00:00 2001 From: Yamato Ando Date: Tue, 30 Jan 2024 15:25:50 +0900 Subject: [PATCH] feat(mkdocs_macros): ignore when creating a table Signed-off-by: Yamato Ando --- mkdocs_macros.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/mkdocs_macros.py b/mkdocs_macros.py index 56292a815d80d..97f76442be491 100644 --- a/mkdocs_macros.py +++ b/mkdocs_macros.py @@ -42,6 +42,8 @@ def format_param_range(param): def extract_parameter_info(parameters, namespace=""): params = [] for k, v in parameters.items(): + if "$ref" in v.keys(): + continue if v["type"] != "object": param = {} param["Name"] = namespace + k