Only include endpoint path in <summary>
(#1446)
This commit is contained in:
parent
a45138c3b4
commit
f9ea0f9d9b
3 changed files with 11 additions and 6 deletions
|
@ -288,17 +288,21 @@ 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;
|
||||
h1 {
|
||||
margin: 0;
|
||||
/* Ensure the disclosure control is vertically centred with the header text. */
|
||||
vertical-align: middle;
|
||||
}
|
||||
}
|
||||
p {
|
||||
max-width: 80%;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.deprecated-inline {
|
||||
|
||||
|
|
1
changelogs/internal/newsfragments/1446.clarification
Normal file
1
changelogs/internal/newsfragments/1446.clarification
Normal file
|
@ -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…
Add table
Add a link
Reference in a new issue