Show More
@@ -798,15 +798,6 b' def getsections(blocks):' | |||||
798 | secs[-1][2].append(b) |
|
798 | secs[-1][2].append(b) | |
799 | return secs |
|
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 | def maketable(data, indent=0, header=False): |
|
801 | def maketable(data, indent=0, header=False): | |
811 | '''Generate an RST table for the given table data as a list of lines''' |
|
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