##// END OF EJS Templates
minirst: remove unused function decorateblocks()...
Yuya Nishihara -
r39347:57f9b3d9 default
parent child Browse files
Show More
@@ -798,15 +798,6 b' def getsections(blocks):'
798 798 secs[-1][2].append(b)
799 799 return secs
800 800
801 def decorateblocks(blocks, width):
802 '''generate a list of (section name, line text) pairs for search'''
803 lines = []
804 for s in getsections(blocks):
805 section = s[0]
806 text = formatblocks(s[2], width)
807 lines.append([(section, l) for l in text.splitlines(True)])
808 return lines
809
810 801 def maketable(data, indent=0, header=False):
811 802 '''Generate an RST table for the given table data as a list of lines'''
812 803
General Comments 0
You need to be logged in to leave comments. Login now