summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorrebortg <github@ghlr.de>2022-09-25 21:09:39 +0200
committerrebortg <github@ghlr.de>2022-09-25 21:09:39 +0200
commitd7feb03fe0c8be371c6f1b6e5590c6f47253d4f4 (patch)
treee4cf6defa69a6e5535e1cc2a502314dc4b475f12 /docs
parent4fdd85cdfc2c9e661be2da3a34d0a2f3c7e43fd5 (diff)
downloadvyos-documentation-d7feb03fe0c8be371c6f1b6e5590c6f47253d4f4.tar.gz
vyos-documentation-d7feb03fe0c8be371c6f1b6e5590c6f47253d4f4.zip
change coverage count
Diffstat (limited to 'docs')
-rw-r--r--docs/_ext/vyos.py4
1 files 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