if chapters[chapter_l1][chapter_l2].get(nic, None) is None:
chapters[chapter_l1][chapter_l2][nic] = dict(
rst_file=f"{join(table_set, chapter_l1)}_{nic}.rst".
- replace(u"2n1l-", u""),
+ replace(u"2n1l-", u"").replace(u"1n1l-", u""),
tables=list()
)
for idx, tbl_file in enumerate(table_lst):
chapters[chapter_l1][chapter_l2][nic][u"tables"].append(
(
table_lst.pop(idx),
- suite[u"doc"].replace(u'|br|', u'\n\n -')
+ suite[u"doc"].replace(u'"', u"'").
+ replace(u'\n', u' ').
+ replace(u'\r', u'').
+ replace(u'*[', u'\n\n - *[').
+ replace(u"*", u"**").
+ replace(u'\n\n - *[', u' - *[', 1)
)
)
break