X-Git-Url: https://gerrit.fd.io/r/gitweb?a=blobdiff_plain;f=resources%2Ftools%2Fpresentation%2Fgenerator_files.py;h=a828c4b952c27d71a429b78aef53a87fc0ee41a6;hb=5c35ced8f373858aa8cf16e58d4dc2177a656a9b;hp=11ed9b0337f84b10a9a634c3e7838817c869c7b9;hpb=37ea2ceb606bdfc338cc76330cb9289c12f63852;p=csit.git diff --git a/resources/tools/presentation/generator_files.py b/resources/tools/presentation/generator_files.py index 11ed9b0337..a828c4b952 100644 --- a/resources/tools/presentation/generator_files.py +++ b/resources/tools/presentation/generator_files.py @@ -197,16 +197,13 @@ def file_details_split(file_spec, input_data, frmt=u"rst"): 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): if suite[u"name"] in tbl_file: chapters[chapter_l1][chapter_l2][nic][u"tables"].append( - ( - table_lst.pop(idx), - suite[u"doc"].replace(u'|br|', u'\n\n -') - ) + (table_lst.pop(idx), suite[u"doc"]) ) break titles = {