From d7feb03fe0c8be371c6f1b6e5590c6f47253d4f4 Mon Sep 17 00:00:00 2001 From: rebortg Date: Sun, 25 Sep 2022 21:09:39 +0200 Subject: change coverage count --- docs/_ext/vyos.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/_ext/vyos.py b/docs/_ext/vyos.py index 52364fc1..99dc8133 100644 --- a/docs/_ext/vyos.py +++ b/docs/_ext/vyos.py @@ -620,7 +620,7 @@ def process_coverage(app, fromdocname, doccmd, xmlcmd, vyoscmd, cli_type): else: coverage_list[strip]['vyoscmd'] = cmd coverage_list[strip]['invyos'] = True - if coverage_list[strip]['indocs'] and coverage_list[strip]['inxml']: + if coverage_list[strip]['indocs'] and coverage_list[strip]['invyos']: strip_true_list.append(strip) @@ -666,7 +666,7 @@ def process_coverage(app, fromdocname, doccmd, xmlcmd, vyoscmd, cli_type): doc_vyos_text.append('Nothing found in VyOS') - if not coverage_list[entry]['indocs'] or not coverage_list[entry]['inxml'] or not coverage_list[entry]['invyos']: + if not coverage_list[entry]['indocs'] or not coverage_list[entry]['invyos']: status = False else: status = True -- cgit v1.2.3