From 806b96c09204ce5c8e3a75e7ee86064bf685b8ef Mon Sep 17 00:00:00 2001 From: Sunyanan Choochotkaew Date: Wed, 6 Nov 2024 18:10:39 +0900 Subject: [PATCH] docs: add new line after host/vm/summary table Signed-off-by: Sunyanan Choochotkaew --- e2e/tools/validator/src/validator/cli/__init__.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/e2e/tools/validator/src/validator/cli/__init__.py b/e2e/tools/validator/src/validator/cli/__init__.py index d9909acf8c..3fc7c8cab2 100644 --- a/e2e/tools/validator/src/validator/cli/__init__.py +++ b/e2e/tools/validator/src/validator/cli/__init__.py @@ -172,6 +172,9 @@ def add_machine_spec(self, title: str, ms: MachineSpec): ], ) + def new_line(self): + self.write("\n") + def write_md_report(results_dir: str, r: TestResult): path = os.path.join(results_dir, f"report-{r.tag}.md") @@ -193,8 +196,10 @@ def rel_path(x: str) -> str: md.h2("Machine Specs") md.add_machine_spec("Host", r.host_spec) + md.new_line() if r.vm_spec is not None: md.add_machine_spec("VM", r.vm_spec) + md.new_line() md.h2("Validation Results") md.li(f"Started At: `{r.start_time}`") @@ -217,6 +222,7 @@ def rel_path(x: str) -> str: if not v.unexpected_error ], ) + md.new_line() md.h3("Details") for v in r.validations.results: