Skip to content

Commit 8bdbabf

Browse files
committed
Fix linter error
1 parent fd444b8 commit 8bdbabf

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

src/attack_flow/docs.py

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -311,8 +311,12 @@ def generate_example_flows(jsons, afds):
311311
doc_lines.append("")
312312
doc_lines.append(".. raw:: html")
313313
doc_lines.append("")
314-
doc_lines.append(f' <p><em>Open:</em> <a href="../ui/?src={open_link}" target="_blank">Attack Flow Builder</a></p>')
315-
doc_lines.append(f' <p><em>Download:</em> <a href="../corpus/{quoted_stem}.afb" download>Attack Flow</a> | <a href="../corpus/{quoted_stem}.json" download>STIX</a> | <a href="../corpus/{quoted_stem}.dot" download>GraphViz</a> (<a href="../corpus/{quoted_stem}.dot.png">PNG</a>) | <a href="../corpus/{quoted_stem}.mmd" download>Mermaid</a></p>')
314+
doc_lines.append(
315+
f' <p><em>Open:</em> <a href="../ui/?src={open_link}" target="_blank">Attack Flow Builder</a></p>'
316+
)
317+
doc_lines.append(
318+
f' <p><em>Download:</em> <a href="../corpus/{quoted_stem}.afb" download>Attack Flow</a> | <a href="../corpus/{quoted_stem}.json" download>STIX</a> | <a href="../corpus/{quoted_stem}.dot" download>GraphViz</a> (<a href="../corpus/{quoted_stem}.dot.png">PNG</a>) | <a href="../corpus/{quoted_stem}.mmd" download>Mermaid</a></p>'
319+
)
316320
doc_lines.append("")
317321
doc_lines.append("----")
318322
doc_lines.append("")

0 commit comments

Comments
 (0)