Clean up unused CSS classes in openapi/render-operation partial (#2003)

Signed-off-by: Kévin Commaille <zecakeh@tedomum.fr>
pull/2005/merge
Kévin Commaille 6 days ago committed by GitHub
parent b4c52ab7bd
commit d67dd88457
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -0,0 +1 @@
Clean up unused CSS classes in `openapi/render-operation` partial.

@ -29,13 +29,13 @@
{{ end }} {{ end }}
{{ $anchor = printf "%s%s%s" $anchor (lower $method) (anchorize $endpoint) }} {{ $anchor = printf "%s%s%s" $anchor (lower $method) (anchorize $endpoint) }}
<section class="rendered-data http-api {{ $method }}"> <section class="rendered-data">
<details {{ if not site.Params.ui.rendered_data_collapsed }}open{{ end }}> <details {{ if not site.Params.ui.rendered_data_collapsed }}open{{ end }}>
<summary> <summary>
<h1 id="{{ $anchor }}"> <h1 id="{{ $anchor }}">
<span class="http-api-method {{ $method }}">{{ $method }}</span> <span class="http-api-method">{{ $method }}</span>
<span class="endpoint{{ if $operation_data.deprecated }} deprecated-inline{{ end }}">{{ $endpoint }}</span> <span class="endpoint{{ if $operation_data.deprecated }} deprecated-inline{{ end }}">{{ $endpoint }}</span>
</h1> </h1>
</summary> </summary>

Loading…
Cancel
Save