Commits

Lenard Lindstrom  committed 15eeb4b

move reST boilerplate into an externally provided file

  • Participants
  • Parent commits 218e5a5

Comments (0)

Files changed (1)

     return markup_pat.sub(repl, text)
 
 def WriteHeader(outFile, doc):
-    outFile.write('.. role:: summaryline\n')
-    outFile.write('\n')
-    outFile.write('.. role:: sl(summaryline)\n')
-    outFile.write('   :class: summaryline\n')
-    outFile.write('\n')
-    outFile.write('.. role:: signature\n')
-    outFile.write('\n')
-    outFile.write('.. role:: sg(signature)\n')
-    outFile.write('   :class: signature\n')
+    outFile.write('.. include:: common.txt\n')
     outFile.write('\n')
 
 def WriteHeading(outFile, doc):