{{ $docsHome := .CurrentSection }} {{ $allDocs := where site.RegularPages "Section" "docs" }} {{ $docs := where $allDocs ".Params.kind" "eq" "documentation" }} {{ $kubernetes := where $allDocs ".Params.kind" "eq" "kubernetes" }} {{ $envoy := where $allDocs ".Params.kind" "eq" "envoy" }} {{ $tutorials := where $allDocs ".Params.kind" "eq" "tutorial" }} {{ $operations := where $allDocs ".Params.kind" "eq" "operations" }} {{ $management := where $allDocs ".Params.kind" "eq" "management" }} {{ $contrib := where $allDocs ".Params.kind" "eq" "contrib" }} {{ $misc := where $allDocs ".Params.kind" "eq" "misc" }} {{ $pageUrl := .Permalink }} {{ $isDocsHome := eq .Permalink $docsHome.Permalink }} {{ $version := index (split .File.Path "/") 1 }} {{ $latest := index site.Data.releases 1 }} Core Docs {{ $docsHomeVersion := $version }} {{ if or (eq $version $latest) }} {{ $docsHomeVersion = "latest" }} {{ end }} {{ $docsHome.Name }} {{ if $isDocsHome }}
{{ .TableOfContents }}
{{ end }} {{ range $docs }} {{ partial "docs/sidenav-link.html" (dict "ctx" . "pageUrl" $pageUrl "version" $version) }} {{ end }} {{ partial "docs/sidenav-section.html" ( dict "ctx" . "sectionTitle" "Kubernetes" "section" $kubernetes "pageUrl" $pageUrl "version" $version ) }} {{ partial "docs/sidenav-section.html" ( dict "ctx" . "sectionTitle" "Envoy" "section" $envoy "pageUrl" $pageUrl "version" $version ) }} {{ partial "docs/sidenav-section.html" ( dict "ctx" . "sectionTitle" "Other Use Cases" "section" $tutorials "pageUrl" $pageUrl "version" $version ) }} {{ partial "docs/sidenav-section.html" ( dict "ctx" . "sectionTitle" "Operations" "section" $operations "pageUrl" $pageUrl "version" $version ) }} {{ partial "docs/sidenav-section.html" ( dict "ctx" . "sectionTitle" "Management APIs" "section" $management "pageUrl" $pageUrl "version" $version ) }} {{ partial "docs/sidenav-section.html" ( dict "ctx" . "sectionTitle" "Contributing" "section" $contrib "pageUrl" $pageUrl "version" $version ) }} {{ partial "docs/sidenav-section.html" ( dict "ctx" . "sectionTitle" "Miscellaneous" "section" $misc "pageUrl" $pageUrl "version" $version ) }} Rego Playground
Community Enterprise and Commercial