Code Review
/
csit.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Report: Configure 2210
[csit.git]
/
resources
/
tools
/
presentation
/
generator_files.py
diff --git
a/resources/tools/presentation/generator_files.py
b/resources/tools/presentation/generator_files.py
index
aa4392e
..
a828c4b
100644
(file)
--- a/
resources/tools/presentation/generator_files.py
+++ b/
resources/tools/presentation/generator_files.py
@@
-197,21
+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".
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(
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'"', u"'").
- replace(u'\n', u' ').
- replace(u'\r', u'').
- replace(u'*[', u'\n\n - *[').
- replace(u"*", u"**").
- replace(u'\n\n - *[', u' - *[', 1)
- )
+ (table_lst.pop(idx), suite[u"doc"])
)
break
titles = {
)
break
titles = {