mirror of
https://git.pleroma.social/pleroma/relay.git
synced 2024-11-23 15:08:00 +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_', '')}}")
|
%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
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue