SF.net SVN: docutils:[9704 ] trunk/docutils/docutils/w riters/manpage.py

grubert--- via Docutils-checkins <[email protected]>
Newsgroups gmane.text.docutils.cvs
Message-ID <[email protected]>
Revision: 9704
          http://sourceforge.net/p/docutils/code/9704
Author:   grubert
Date:     2024-05-16 13:49:09 +0000 (Thu, 16 May 2024)
Log Message:
-----------
add doc string, remove trailing blanks

Modified Paths:
--------------
    trunk/docutils/docutils/writers/manpage.py

Modified: trunk/docutils/docutils/writers/manpage.py
===================================================================
--- trunk/docutils/docutils/writers/manpage.py	2024-05-15 13:44:16 UTC (rev 9703)
+++ trunk/docutils/docutils/writers/manpage.py	2024-05-16 13:49:09 UTC (rev 9704)
@@ -161,7 +161,9 @@
 
 
 class Translator(nodes.NodeVisitor):
-    """"""
+    """
+    Generate unixlike manual pages using the man macro package from a Docutils document tree.
+    """
 
     words_and_spaces = re.compile(r'\S+| +|\n')
     possibly_a_roff_command = re.compile(r'\.\w')
@@ -1118,7 +1120,7 @@
             self.body.append(' ')
             return  # skip (depart_classifier() calls this function again)
         if isinstance(_next, nodes.term):
-            # .TQ  Additional paragraph tag   
+            # .TQ  Additional paragraph tag
             self.body.append('\n.TQ')
         else:
             self.body.append('\n')

This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.