File tree Expand file tree Collapse file tree 3 files changed +4
-4
lines changed
Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 1+ * @ joamatab @ sebastian-goeldi @ ThomasPluck @ nikosavola
Original file line number Diff line number Diff line change 11"""Write model documentation."""
22
3- from jinja2 import Environment , FileSystemLoader
3+ from jinja2 import Environment , FileSystemLoader , select_autoescape
44
55import qpdk
66from qpdk .config import PATH
4343]
4444
4545# Setup Jinja2
46- env = Environment (loader = FileSystemLoader (template_dir ), autoescape = False )
46+ env = Environment (loader = FileSystemLoader (template_dir ), autoescape = select_autoescape () )
4747template = env .get_template ("models_static.rst.j2" )
4848
4949rendered = template .render (items = items )
Original file line number Diff line number Diff line change @@ -68,8 +68,7 @@ def straight_shorted(
6868 It seems to be a Sax limitation that we need to define at least two ports.
6969
7070 Args:
71- **kwargs
72- Keyword arguments forwarded to :func:`qpdk.models.straight`.
71+ **kwargs: Keyword arguments forwarded to :func:`qpdk.models.straight`.
7372 See :class:`StraightModelKwargs` for the supported parameters.
7473
7574 Returns:
You can’t perform that action at this time.
0 commit comments