-
-
-

{{ .Title }}

- - {{/* Summary - first sentence only at top */}} - {{ with .Params.summary }} -

{{ . | markdownify }}

- {{ else }} - {{/* Extract first sentence from description (or full text if no sentence ending) */}} - {{ with .Description }} - {{ $matches := findRE `^[^.!?]*[.!?]` . 1 }} - {{ if gt (len $matches) 0 }} - {{ $firstSentence := index $matches 0 }} -

{{ $firstSentence | markdownify }}

- {{ else }} - {{/* No sentence ending found - use first line or full description */}} - {{ $firstLine := index (split . "\n") 0 }} -

{{ $firstLine | markdownify }}

- {{ end }} - {{ end }} - {{ end }} -
- - {{/* Download OpenAPI spec button */}} - {{ with .Params.staticFilePath }} - - {{ end }} -
+

{{ .Title }}

+ {{ with .Description }} +

{{ . }}

+ {{ end }}
+ {{/* Check if this is a section index (no tag param) or a tag page */}} + {{ $hasTag := isset .Params "tag" }} + + {{ if not $hasTag }} + {{/* SECTION INDEX - Show tag pages from article data */}} + {{ partial "api/section-children.html" . }} + + {{ else }} + {{/* TAG PAGE - Show operations or conceptual content */}} {{ $isConceptual := .Params.isConceptual | default false }} {{ if $isConceptual }} @@ -78,17 +46,15 @@ {{ end }} {{ end }} + {{ else }} {{/* Operational Page - Show operations list then description */}} - - {{/* Operations List */}} {{ $operations := .Params.operations }} {{ if $operations }}

Endpoints

{{ range $operations }} - {{/* Build URL: parent section (e.g., /influxdb3/core/api/) + operation path + method */}} {{ $apiBase := $.Parent.RelPermalink }} {{ $operationURL := printf "%s%s/%s/" $apiBase .path (lower .method) }} @@ -117,18 +83,14 @@
{{ end }} - {{/* RapiDoc renderer - only for pages with additional content beyond description */}} - {{/* Don't show RapiDoc on list pages since operations are already shown as cards above */}} - + {{ end }} {{ end }} - {{/* Related documentation links */}} {{ partial "article/related.html" . }}