{%- if parent_href -%}
-
Overview
{%- endif -%}
{%- for section in toc -%}
{%- assign link = section | getDocTocData -%}
{%- assign children = section[':children'] -%}
-
{{ link.text }}
{%- if children -%}
{% render 'documentation_toc', url: url, toc: children, parent_href: link.href %}
{%- endif -%}
{%- endfor -%}