{{- /* Recursively render a heading tree as nested nav lists. Params (dict): items (heading slice), parent (parent's full command label, "" at the root), depth (1-based), maxDepth (deepest level shown). Each label has its parent's command path stripped, so the reference reads "auth → login" rather than "auth → auth login". */ -}} {{- $parent := .parent -}} {{- $depth := .depth -}} {{- $maxDepth := .maxDepth -}}