Only include endpoint path in `<summary>` (#1446)

pull/1462/head
David Robertson 2 years ago committed by GitHub
parent a45138c3b4
commit f9ea0f9d9b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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 {

@ -0,0 +1 @@
Endpoint disclosures now hide everything but the URL.

@ -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>

Loading…
Cancel
Save