[Doc] Fix version control in internal pages
# What does this PR do?

When I added the internal submenu, I didn't think of also adding it in the test that properly generates the links for another version of the doc. This PR fixes that.