mirror of
https://git.pleroma.social/pleroma/relay.git
synced 2024-11-23 06:57:59 +00:00
treat doc strings as markdown
This commit is contained in:
parent
2093af8217
commit
7673920141
|
@ -7,7 +7,7 @@
|
|||
%a.endpoint(id="{{method.name.replace('handle_', '')}}" href="#{{method.name.replace('handle_', '')}}")
|
||||
{{method.method.upper()}} {{method.path}}
|
||||
|
||||
%span.description -> =method.docs
|
||||
.description -> -markdown -> =method.docs
|
||||
|
||||
-if method.parameters
|
||||
.parameters
|
||||
|
@ -19,5 +19,5 @@
|
|||
-if not param.has_default
|
||||
%span.required << *required
|
||||
|
||||
.doc -> =param.docs
|
||||
.doc -> -markdown -> =param.docs
|
||||
|
||||
|
|
Loading…
Reference in a new issue