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: Add 3n-icx e810cq
[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
0228858
..
ef06cad
100644
(file)
--- a/
resources/tools/presentation/generator_files.py
+++ b/
resources/tools/presentation/generator_files.py
@@
-1,4
+1,4
@@
-# Copyright (c) 202
1
Cisco and/or its affiliates.
+# Copyright (c) 202
3
Cisco and/or its affiliates.
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at:
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at:
@@
-203,15
+203,7
@@
def file_details_split(file_spec, input_data, frmt=u"rst"):
for idx, tbl_file in enumerate(table_lst):
if suite[u"name"] in tbl_file:
chapters[chapter_l1][chapter_l2][nic][u"tables"].append(
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 = {