mirror of
https://github.com/vyos/vyos-documentation.git
synced 2025-10-26 08:41:46 +01:00
vyos.py: add code to find syntax errors
This commit is contained in:
parent
e23407b008
commit
8a4040c036
@ -597,6 +597,11 @@ def process_coverage(app, fromdocname, doccmd, xmlcmd, cli_type):
|
||||
|
||||
strip_true_list = list(set(strip_true_list))
|
||||
|
||||
# to find syntax errors in cfg or cmd commands
|
||||
#for k in coverage_list.keys():
|
||||
# if ("[" in k) or ("]" in k) or ("<" in k) or (">" in k) or ("|" in k):
|
||||
# print(coverage_list[k])
|
||||
|
||||
|
||||
|
||||
table = nodes.table()
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user