[pbs-devel] [PATCH proxmox-backup v4 40/43] docgen: generate synopsis for notifications{-priv, }.cfg

Lukas Wagner l.wagner at proxmox.com
Mon Apr 22 14:38:38 CEST 2024


Signed-off-by: Lukas Wagner <l.wagner at proxmox.com>
---
 src/bin/docgen.rs | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/src/bin/docgen.rs b/src/bin/docgen.rs
index 7ee991a0..66d71423 100644
--- a/src/bin/docgen.rs
+++ b/src/bin/docgen.rs
@@ -31,6 +31,10 @@ fn main() -> Result<(), Error> {
             "apidata.js" => generate_api_tree(),
             "datastore.cfg" => dump_section_config(&pbs_config::datastore::CONFIG),
             "domains.cfg" => dump_section_config(&pbs_config::domains::CONFIG),
+            "notifications.cfg" => dump_section_config(proxmox_notify::config::config_parser()),
+            "notifications-priv.cfg" => {
+                dump_section_config(proxmox_notify::config::private_config_parser())
+            }
             "tape.cfg" => dump_section_config(&pbs_config::drive::CONFIG),
             "tape-job.cfg" => dump_section_config(&pbs_config::tape_job::CONFIG),
             "user.cfg" => dump_section_config(&pbs_config::user::CONFIG),
-- 
2.39.2





More information about the pbs-devel mailing list