{{-- Copyright (c) ppy Pty Ltd . Licensed under the GNU Affero General Public License v3.0. See the LICENCE file in the repository root for full licence text. --}} @foreach($groupedEndpoints as $group)

{!! $group['name'] !!}

{!! Parsedown::instance()->text($group['description']) !!} @foreach($group['subgroups'] as $subgroupName => $subgroup) @if($subgroupName !== "")

{{ $subgroupName }}

@php($subgroupDescription = collect($subgroup)->first(fn ($e) => $e->metadata->subgroupDescription)?->metadata?->subgroupDescription) @if($subgroupDescription)

{!! Parsedown::instance()->text($subgroupDescription) !!}

@endif @endif @foreach($subgroup as $endpoint) @include("docs.endpoint") @endforeach @endforeach @endforeach