treat doc strings as markdown

This commit is contained in:
Izalia Mae 2024-10-14 15:46:51 -04:00
parent 2093af8217
commit 7673920141

View file

@ -7,7 +7,7 @@
%a.endpoint(id="{{method.name.replace('handle_', '')}}" href="#{{method.name.replace('handle_', '')}}") %a.endpoint(id="{{method.name.replace('handle_', '')}}" href="#{{method.name.replace('handle_', '')}}")
{{method.method.upper()}} {{method.path}} {{method.method.upper()}} {{method.path}}
%span.description -> =method.docs .description -> -markdown -> =method.docs
-if method.parameters -if method.parameters
.parameters .parameters
@ -19,5 +19,5 @@
-if not param.has_default -if not param.has_default
%span.required << *required %span.required << *required
.doc -> =param.docs .doc -> -markdown -> =param.docs