]> git.ipfire.org Git - thirdparty/kea.git/commitdiff
[#3894] update section also
authorRazvan Becheriu <razvan@isc.org>
Tue, 27 May 2025 10:38:19 +0000 (10:38 +0000)
committerRazvan Becheriu <razvan@isc.org>
Fri, 30 May 2025 09:24:25 +0000 (09:24 +0000)
doc/sphinx/mes2doc.py

index 3c13739a4b8993a6026e68f1a4b37db3e9fa2553..52bf4f5b1e0830d3bc99749874a16e049c4d55e7 100755 (executable)
@@ -74,6 +74,7 @@ def read_input_files(files):
                 else:
                     msg_descr.append(line)
             if msg_id is not None:
+                section = msg_id.split('_')[0]
                 messages[msg_id] = (section, msg_id, msg_text, msg_descr)
 
     return messages