Want to create a static TOC with link to headers on my embedded content page, Ace Documentation

The automatic TOC using “##” is not available for my case because I’ve embedded a .yaml file using swaggerUI so the TOC is simply not showing(makes sense).

So now I’m looking for a way to manually add a TOC on the side of the page with links to each specific header.

I’ve looked at TocBot but I havn’t had any luck getting it to work. Also checked out Single layout but same result there.

Any ideas or recommendations are appreciated!

What does that mean?