MCPcopy Create free account
hub / github.com/F-Stack/f-stack / print_table_header

Function print_table_header

dpdk/doc/guides/conf.py:212–229  ·  view source on GitHub ↗

Print the RST table header. The header names are vertical.

(outfile, num_cols, header_names, title)

Source from the content-addressed store, hash-verified

210
211
212def print_table_header(outfile, num_cols, header_names, title):
213 """ Print the RST table header. The header names are vertical. """
214 print_table_divider(outfile, num_cols)
215
216 line = ''
217 for name in header_names:
218 line += ' ' + name[0]
219
220 print_table_row(outfile, title, line)
221
222 for i in range(1, len(header_names[0])):
223 line = ''
224 for name in header_names:
225 line += ' ' + name[i]
226
227 print_table_row(outfile, '', line)
228
229 print_table_divider(outfile, num_cols)
230
231
232def print_table_body(outfile, num_cols, ini_files, ini_data, default_features):

Callers 1

generate_overview_tableFunction · 0.85

Calls 3

print_table_dividerFunction · 0.85
print_table_rowFunction · 0.85
rangeClass · 0.85

Tested by

no test coverage detected