mirror of
https://github.com/coder/coder.git
synced 2026-09-24 15:04:27 +08:00
docs: applications and authorization (#5477)
* docs: Applications * WIP * WIP * WIP * Fix: consume * Fix: @Description * Fix * Fix: s/none//g * Fix: godoc nice * Fix: description * Fix: It * Fix: code sample trim empty line * More fixes * Fix: br
This commit is contained in:
@@ -1,3 +1,9 @@
|
||||
{{
|
||||
function renderCodeSample(data) {
|
||||
const originalCodeSample = data.utils.getCodeSamples(data);
|
||||
return originalCodeSample.replace("\n```\n", "```\n")
|
||||
}
|
||||
}}
|
||||
{{= data.tags.section }}
|
||||
|
||||
## {{= data.operationUniqueName}}
|
||||
@@ -14,7 +20,7 @@
|
||||
{{? data.options.codeSamples || data.operation["x-code-samples"] }}
|
||||
### Code samples
|
||||
|
||||
{{= data.utils.getCodeSamples(data)}}
|
||||
{{=renderCodeSample(data)}}
|
||||
{{?}}
|
||||
|
||||
`{{= data.methodUpper}} {{=data.method.path}}`
|
||||
|
||||
Reference in New Issue
Block a user