mirror of https://github.com/docker/docs.git
19 lines
561 B
HTML
19 lines
561 B
HTML
<div class="text-lg pb-2">{{ T "tableOfContents" }}</div>
|
|
<nav id="TableOfContents">
|
|
<ul>
|
|
{{ $openapi := index site.Data.api .Params.apidata }}
|
|
{{ range $path, $pathKeys := $openapi.paths }}
|
|
{{ range $key, $properties := $pathKeys }}
|
|
{{ if in "get put patch post delete" $key }}
|
|
<li>
|
|
<a
|
|
href="#{{ $properties.operationId | default (urlize $properties.summary) }}"
|
|
>{{ $properties.summary }}</a
|
|
>
|
|
</li>
|
|
{{ end }}
|
|
{{ end }}
|
|
{{ end }}
|
|
</ul>
|
|
</nav>
|