Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
CTI Tools
tosca2doc
Commits
47888cb4
Commit
47888cb4
authored
Sep 23, 2021
by
Miguel Angel Reina Ortega
Browse files
Fix for generating the filename of annex E
Signed-off-by:
reinaortega
<
miguelangel.reinaortega@etsi.org
>
parent
911fad58
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/example.py
View file @
47888cb4
...
...
@@ -56,7 +56,7 @@ def is_heading(txt :str):
(Previously this predicate was used: ("Heading" in line.style.name) but
not all headings have the correct style
'''
return
txt
.
startswith
(
"A."
)
return
(
txt
.
startswith
(
"A."
)
)
or
(
txt
.
startswith
(
"E."
))
def
is_example_table
(
tab
):
return
len
(
tab
.
rows
)
==
1
and
len
(
tab
.
rows
[
0
].
cells
)
==
1
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment