Fixes toc generation for struct-ref tags

3 jobs for master in 12 minutes and 32 seconds (queued for 12 minutes and 2 seconds)