Only include endpoint path in <summary>

This commit is contained in:
David Robertson 2023-02-22 21:02:44 +00:00
parent 77d0f20226
commit 4621f6447d
No known key found for this signature in database
GPG key ID: 903ECE108A39DEDD
2 changed files with 10 additions and 6 deletions

View file

@ -288,16 +288,20 @@ footer {
/* Styles for sections that are rendered from data, such as HTTP APIs and event schemas */
.rendered-data {
background-color: $secondary-lightest-background;
padding: 1rem;
margin: 1rem 0;
padding: 0.85rem;
margin: 0.85rem 0;
details {
summary {
padding: .5rem 0;
p {
max-width: 80%;
h1 {
margin: 0;
/* Ensure the disclosure control is vertically centred with the header text. */
vertical-align: middle;
}
}
p {
max-width: 80%;
}
}
.deprecated-inline {

View file

@ -33,6 +33,7 @@
<span class="http-api-method {{ $method }}">{{ $method }}</span>
<span class="endpoint{{ if $operation_data.deprecated }} deprecated-inline{{ end }}">{{ $endpoint }}</span>
</h1>
</summary>
<hr/>
@ -49,7 +50,6 @@
<p>{{ $operation_data.description | markdownify }}</p>
</summary>
<table class="basic-info">
<tr>