all lists on lists.proxmox.com
 help / color / mirror / Atom feed
* [pbs-devel] [PATCH proxmox 1/2] router: docs: add horizontal line before nested command docs
@ 2025-02-21  6:50 Dietmar Maurer
  2025-02-21  6:50 ` [pbs-devel] [PATCH proxmox 2/2] schema: support doc generation in Djot format Dietmar Maurer
  2025-02-21  9:10 ` [pbs-devel] applied: [PATCH proxmox 1/2] router: docs: add horizontal line before nested command docs Thomas Lamprecht
  0 siblings, 2 replies; 3+ messages in thread
From: Dietmar Maurer @ 2025-02-21  6:50 UTC (permalink / raw)
  To: pbs-devel

Lines before commanmd groups are missing (i.e. see proxmox-backup-client command
syntax docs)

Signed-off-by: Dietmar Maurer <dietmar@proxmox.com>
---
 proxmox-router/src/cli/format.rs | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/proxmox-router/src/cli/format.rs b/proxmox-router/src/cli/format.rs
index 84936336..95448aa9 100644
--- a/proxmox-router/src/cli/format.rs
+++ b/proxmox-router/src/cli/format.rs
@@ -415,6 +415,9 @@ fn generate_nested_usage_do<'cli>(
                 ));
             }
             CommandLineInterface::Nested(map) => {
+                if format == DocumentationFormat::ReST {
+                    usage.push_str("\n----\n\n");
+                }
                 usage.push_str(&generate_nested_usage_do(state, &new_prefix, map, format));
             }
         }
-- 
2.39.5


_______________________________________________
pbs-devel mailing list
pbs-devel@lists.proxmox.com
https://lists.proxmox.com/cgi-bin/mailman/listinfo/pbs-devel


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2025-02-21 10:58 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-02-21  6:50 [pbs-devel] [PATCH proxmox 1/2] router: docs: add horizontal line before nested command docs Dietmar Maurer
2025-02-21  6:50 ` [pbs-devel] [PATCH proxmox 2/2] schema: support doc generation in Djot format Dietmar Maurer
2025-02-21  9:10 ` [pbs-devel] applied: [PATCH proxmox 1/2] router: docs: add horizontal line before nested command docs Thomas Lamprecht

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.
Service provided by Proxmox Server Solutions GmbH | Privacy | Legal