{{/* prettier-ignore-start */ -}} {{- /* Renders the child sections of the given top-level section, listing each child's immediate descendants. @param {string} section The top-level section to render. @example {{< quick-reference section="functions" >}} */ -}} {{/* prettier-ignore-end */ -}} {{ $section := "" }} {{ with .Get "section" }} {{ $section = . }} {{ else }} {{ errorf "The %q shortcodes requires a 'section' parameter. See %s" .Name .Position }} {{ end }} {{ with site.GetPage $section }} {{ range .Sections }}