doc: usage: Use glob for all commands
PATCH 1/2 doc: usage: Use glob for all commands
Make use of the glob syntax to automatically include all command documents.
Signed-off-by Tom Rini <[email protected]>
---
Cc: Heinrich Schuchardt <[email protected]>
--- doc/usage/index.rst | 117 +------------------------------------------- 1 file changed, 2 insertions(+), 115 deletions(-)
doc/usage/index.rst +2 -115
@@ -23,122 +23,9 @@ Shell commands .. toctree:: :maxdepth: 1 + :glob: - cmd/acpi - cmd/addrmap - cmd/armffa - cmd/askenv - cmd/base - cmd/bdinfo - cmd/bind - cmd/blkcache - cmd/bootd - cmd/bootdev - cmd/bootefi - cmd/bootelf - cmd/bootflow - cmd/booti - cmd/bootm - cmd/bootmenu - cmd/bootmeth - cmd/bootstd - cmd/bootz - cmd/button - cmd/cat - cmd/cbcmos - cmd/cbsysinfo - cmd/cedit - cmd/cli - cmd/cls - cmd/cmp - cmd/coninfo - cmd/conitrace - cmd/cp - cmd/cpu - cmd/cpuid - cmd/cyclic - cmd/dmareset - cmd/dm - cmd/ebtupdate - cmd/echo - cmd/efi - cmd/eficonfig - cmd/env - cmd/event - cmd/exception - cmd/exit - cmd/extension - cmd/false - cmd/fatinfo - cmd/fatload - cmd/fdt - cmd/font - cmd/for - cmd/fuse - cmd/fwu_mdata - cmd/gpio - cmd/gpt - cmd/history - cmd/host - cmd/if - cmd/itest - cmd/imxtract - cmd/i3c - cmd/load - cmd/loadb - cmd/loadm - cmd/loads - cmd/loadx - cmd/loady - cmd/meminfo - cmd/mbr - cmd/md - cmd/mmc - cmd/msr - cmd/mtest - cmd/mtrr - cmd/mv - cmd/optee - cmd/panic - cmd/part - cmd/pause - cmd/pinmux - cmd/printenv - cmd/pstore - cmd/pwm - cmd/qfw - cmd/read - cmd/reset - cmd/rng - cmd/saves - cmd/sb - cmd/sbi - cmd/scmi - cmd/scp03 - cmd/seama - cmd/setexpr - cmd/sf - cmd/size - cmd/sleep - cmd/sm - cmd/smbios - cmd/sntp - cmd/sound - cmd/source - cmd/tcpm - cmd/temperature - cmd/test - cmd/tftpput - cmd/trace - cmd/true - cmd/upl - cmd/ums - cmd/unbind - cmd/ut - cmd/wdt - cmd/wget - cmd/write - cmd/xxd + cmd/* Booting OS ----------
Signature · 1 line
2.43.0
PATCH 2/2 doc/usage: Add a reference to General rules for commands
For clarity, add a reference link to the start of the section on command documentation that all commands follow some general rules.
Signed-off-by Tom Rini <[email protected]>
---
After re-reading, I'm not sure Quentin if you were also thinking of this, so please feel free to Suggested-by as well.
Cc Quentin Schulz <[email protected]>
Cc Heinrich Schuchardt <[email protected]>
--- doc/usage/index.rst | 3 +++ 1 file changed, 3 insertions(+)
doc/usage/index.rst +3 -0
@@ -21,6 +21,9 @@ Use U-Boot Shell commands -------------- +For all commands in U-Boot there are some :ref:`usage/cmdline:General rules` +that apply. + .. toctree:: :maxdepth: 1 :glob:
Signature · 1 line
2.43.0
Hi Tom,
Quoted 3 lines · Tom Rini
Make use of the glob syntax to automatically include all command documents.
Great idea.
Reviewed-by Quentin Schulz <[email protected]>
Thanks!
Quentin