summaryrefslogtreecommitdiff
path: root/docs/coverage.md
diff options
context:
space:
mode:
authorYuriy Andamasov <yuriy@vyos.io>2026-05-02 17:25:47 +0300
committerYuriy Andamasov <yuriy@vyos.io>2026-05-06 16:18:03 +0300
commitfa54a080fac977157454beb0853daf0ac0e6af66 (patch)
tree82b112cde06437b80515450d63eb793bee198ec6 /docs/coverage.md
parent746195618941d8be8ed132f4b0be539763ec352d (diff)
downloadvyos-documentation-fa54a080fac977157454beb0853daf0ac0e6af66.tar.gz
vyos-documentation-fa54a080fac977157454beb0853daf0ac0e6af66.zip
feat(swap): import .md files and webp transition from myst/current
Selective import from origin/myst/current (cf9c9b34): - Add/update 255 .md files (full MyST conversion plus webp ref updates) - Delete 175 PNG/JPG from docs/_static/images (webp twins already present) - Delete 5 autotest topology.png (webp twins already present) Preserved on swap (untouched): - All .rst files (incremental swap pattern) - conf.py, _ext/, _include/*.txt, .gitignore - 115 canary md-*.md files - 7 superpowers/specs/*.md design docs - Logos vyos-logo.png / vyos-logo-icon.png (referenced by conf.py) 🤖 Generated by [robots](https://vyos.io)
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