How is the drop-down menu created after the CMake Docs is built from the Help directory?

As we can see, there is a drop-down menu in the navigation bar of CMake Documentation so that we can toggle different versions:

image

However, there isn’t such a thing by default after we build the html from the Help directory.

image

I wondered how this thing is created automatically? Is there any script file like python/docsbuild-script provided?

cc: @craig.scott @brad.king

I’ve no idea how that’s handled. It’s done only for the official hosted docs, you don’t get it if building locally or in CI. Might have to wait for Brad to provide further info, unless @ben.boeckel happens to know.

So…May I know who is the CMake team member responsible for publishing the CMake Documentation?

I thinks this topic is related to this comment by @brad.king: