(title, content, tab_size=4)
| 132 | return '\n'.join(rows) |
| 133 | |
| 134 | def wrapper_section(title, content, tab_size=4): |
| 135 | tab = ' '*tab_size |
| 136 | if content: |
| 137 | return ( |
| 138 | f"{title}\n{'~'*len(title)}" |
| 139 | f"\n.. table::\n{tab}:align: left\n\n" |
| 140 | f"{content}\n\n" |
| 141 | ) |
| 142 | return '' |
| 143 | |
| 144 | def wrapper_tab(title, table, tab_size=4): |
| 145 | tab = ' '*tab_size |