diff options
| author | Quentin Young <qlyoung@qlyoung.net> | 2023-09-28 20:11:31 -0400 |
|---|---|---|
| committer | Quentin Young <qlyoung@qlyoung.net> | 2024-06-27 14:47:30 -0400 |
| commit | dc00f2dc1d4d3f6435c31bf8d4777ff78b851d12 (patch) | |
| tree | 31710ed0ab86e8ab03927367ffb62605178c9ef5 /tools/stringmangle.py | |
| parent | 5f41bb29ab006b0a4afce238719fc041e75f1b0e (diff) | |
doc: add ability to disambiguate clicmds
Multiple daemons have the same CLI commands defined, but the current
directive used to document CLI commands only takes the command
definition string. Since CLI command objects can be cross-referenced
using the :clicmd: directive, and are placed in the index, each object
needs to be unique.
To accomplish this, add a custom directive. This directive extends the
directive class used by sphinx's add_object_type to add a :daemon:
option. By specifying this option where needed, the object name becomes
"(<daemon>) <definition>", disambiguating it.
Signed-off-by: Quentin Young <qlyoung@qlyoung.net>
Diffstat (limited to 'tools/stringmangle.py')
0 files changed, 0 insertions, 0 deletions
