Clean up unused CSS classes in openapi/render-operation partial (#2003)
Signed-off-by: Kévin Commaille <zecakeh@tedomum.fr>
This commit is contained in:
parent
b4c52ab7bd
commit
d67dd88457
2 changed files with 3 additions and 2 deletions
1
changelogs/internal/newsfragments/2003.clarification
Normal file
1
changelogs/internal/newsfragments/2003.clarification
Normal file
|
@ -0,0 +1 @@
|
|||
Clean up unused CSS classes in `openapi/render-operation` partial.
|
|
@ -29,13 +29,13 @@
|
|||
{{ end }}
|
||||
{{ $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 }}>
|
||||
<summary>
|
||||
|
||||
<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>
|
||||
</h1>
|
||||
</summary>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue