• {% if toc_item.title.startswith("[attribute] ") %}  {{ toc_item.title | replace("[attribute] ", "") }} {% elif toc_item.title.startswith("[static-attribute] ") %}  {{ toc_item.title | replace("[static-attribute] ", "") }} {% elif toc_item.title.startswith("[class] ") %}  {{ toc_item.title | replace("[class] ", "") }} {% elif toc_item.title.startswith("[enum] ") %}  {{ toc_item.title | replace("[enum] ", "") }} {% elif toc_item.title.startswith("[variant] ") %}  {{ toc_item.title | replace("[variant] ", "") }} {% elif toc_item.title.startswith("[function] ") %}  {{ toc_item.title | replace("[function] ", "") }} {% elif toc_item.title.startswith("[static-function] ") %}  {{ toc_item.title | replace("[static-function] ", "") }} {% else %} {{ toc_item.title }} {% endif %} {% if toc_item.children %} {% endif %}