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