doc/hgmanpage.py
changeset 41553 eb14ab7db33e
parent 30057 a8ba9a23c893
child 42059 51df72655b1a
equal deleted inserted replaced
41552:99b4c6d73a72 41553:eb14ab7db33e
   374 
   374 
   375     def header(self):
   375     def header(self):
   376         tmpl = (".TH %(title_upper)s %(manual_section)s"
   376         tmpl = (".TH %(title_upper)s %(manual_section)s"
   377                 " \"%(date)s\" \"%(version)s\" \"%(manual_group)s\"\n"
   377                 " \"%(date)s\" \"%(version)s\" \"%(manual_group)s\"\n"
   378                 ".SH NAME\n"
   378                 ".SH NAME\n"
   379                 "%(title)s \- %(subtitle)s\n")
   379                 "%(title)s \\- %(subtitle)s\n")
   380         return tmpl % self._docinfo
   380         return tmpl % self._docinfo
   381 
   381 
   382     def append_header(self):
   382     def append_header(self):
   383         """append header with .TH and .SH NAME"""
   383         """append header with .TH and .SH NAME"""
   384         # NOTE before everything
   384         # NOTE before everything