Adds [discrete] to common parameters and API titles when generating API docs (#1316)
This commit is contained in:
committed by
GitHub
parent
88ef53b0ef
commit
93990b88fb
@ -111,6 +111,7 @@ function generateDocs (common, spec) {
|
||||
|
||||
function commonParameters (spec) {
|
||||
var doc = dedent`
|
||||
[discrete]
|
||||
=== Common parameters
|
||||
Parameters that are accepted by all API endpoints.
|
||||
|
||||
@ -210,6 +211,7 @@ function generateApiDoc (spec) {
|
||||
: `*Stability:* ${spec[name].stability}`
|
||||
|
||||
var doc = dedent`
|
||||
[discrete]
|
||||
=== ${camelify(name)}
|
||||
${stability}
|
||||
[source,ts]
|
||||
|
||||
Reference in New Issue
Block a user