How do I create versioned API docs?

It wouldn’t be uncommon in the documentation space, but it also isn’t something that Netlify is specifically geared towards solving, (unlike ReadTheDocs), so I don’t believe they have a recommended way of achieving it.

I did find this old post concerning similar: