summaryrefslogtreecommitdiff
path: root/docs/coverage.md
diff options
context:
space:
mode:
authorYuriy Andamasov <yuriy@vyos.io>2026-05-06 21:05:20 +0300
committerGitHub <noreply@github.com>2026-05-06 21:05:20 +0300
commit7cf51e1c2901f6d1b01e9bff194f7188bc29e417 (patch)
treeafe2bc5b4426837530f2b4e0ab9840c81337a4c2 /docs/coverage.md
parent631e454d674ad5111d2b56a6964ead461894a1f6 (diff)
parent97d12b42d997627be6f33528ba2625bd0378de74 (diff)
downloadvyos-documentation-7cf51e1c2901f6d1b01e9bff194f7188bc29e417.tar.gz
vyos-documentation-7cf51e1c2901f6d1b01e9bff194f7188bc29e417.zip
Merge pull request #1899 from vyos/feat/myst-as-primary-current
feat: MD as primary, RST as override — Phase 1 (rename + exclude flip on current)
Diffstat (limited to 'docs/coverage.md')
-rw-r--r--docs/coverage.md59
1 files changed, 59 insertions, 0 deletions
diff --git a/docs/coverage.md b/docs/coverage.md
new file mode 100644
index 00000000..fff0dc4e
--- /dev/null
+++ b/docs/coverage.md
@@ -0,0 +1,59 @@
+---
+lastproofread: '2025-11-14'
+---
+
+# Coverage
+
+Overview over all commands that are documented in the
+`.. cfgcmd::` or `.. opcmd::` directives.
+
+The build process takes all XML definition files
+from the [vyos-1x](https://github.com/vyos/vyos-1x) repository and a
+periodical export of all VyOS commands and extracts each leaf command, or
+executable command.
+The script compares only the fixed part of a command.
+All variables and values are removed and the string of the commands
+are compared.
+
+For example, take the following two commands:
+
+- documentation: `interfaces ethernet <interface> address
+ <address | dhcp | dhcpv6>`
+- xml: `interfaces ethernet <ethernet> address <address>`
+- VyOS: `interfaces ethernet <text> address <value>`
+
+**There are 3 kinds of issues with commands in the following tables:**
+
+`Not documented yet`
+
+- An XML command is not found in `.. cfgcmd::` or `.. opcmd::` directives.
+- The command should be documented.
+
+`Nothing found in XML Definitions`
+
+- `.. cfgcmd::` or `.. opcmd::` The command is not found in the XML
+ definition.
+- The command location may have changed in the XML definition, the feature
+ is no longer supported in VyOS, or there is a typo in the command.
+
+`Nothing found in VyOS`
+
+- `.. cfgcmd::` or `.. opcmd::` The command is not found in VyOS
+ documentation or the XML definition.
+- The command location may have changed in the XML definition, the feature
+ is no longer supported in VyOS, or there is a typo in the command.
+
+The final list of commands are shown in
+the following two tables:
+
+## Configuration Commands
+
+```{cfgcmdlist}
+:show-coverage:
+```
+
+## Operational Commands
+
+```{opcmdlist}
+:show-coverage:
+``` \ No newline at end of file