]> granicus.if.org Git - zziplib/commitdiff
make2(man) w/ refends2
authorGuido Draheim <guidod@gmx.de>
Sat, 24 Mar 2018 02:55:23 +0000 (03:55 +0100)
committerGuido Draheim <guidod@gmx.de>
Sat, 24 Mar 2018 02:55:23 +0000 (03:55 +0100)
docs/dbk2man.py

index ef4c7cba236a2b6bcca25709db89cb046a6c9286..83edef134a94bfc978fbc60e1748919fc217d1b6 100755 (executable)
@@ -215,6 +215,9 @@ def styleinfo2(man):
    styles += [ ".ad l" ] # align left, no justification
    return "".join([ "%s\n" % part for part in styles ])
 
+def refends2(man):
+    return ""
+
 def refentry2(man, refentry, subdirectory = ".", title = ""):
     if refentry.tag != "refentry":
         logg.warning("no <refentry> found, not a docbook file?")
@@ -225,6 +228,7 @@ def refentry2(man, refentry, subdirectory = ".", title = ""):
     text += refentrytitle2(man, refentry, title)
     text += refsynopsisdiv2(man, refentry)
     text += refsections2(man, refentry)
+    text += refends2(man, refentry, title)
 
     ### write the files
     refentrytitle = ""