What's the difference between this two documentation pages?

What is the difference between this two links?

The second one has a JS option to see the javascript docs, and it seems that it is on version 3.10, while the first link says version 3.6.

Which should I use?

The first is JavaScript. It says 3.6 but it is really v3.12. I will update the config file. I just generated it a few days ago.

The second link is C++ and v3.12. It seems the config file keeps getting reset. I’ll update this.

The JS button (top-right corner) is not really doing anything?

I guess it does. I’m not sure why we are deploying twice if this is the same thing. Let me check with the Engineering team.

So far what I have found out is that using the JS docs here: http://www.cocos2d-x.org/docs/api-ref/cplusplus/v3x/

are outdated and so you should use the ones here: http://www.cocos2d-x.org/docs/api-ref/js/v3x/

We are looking into a proper fix for this. Thank you for pointing it out.

It’s clear now. Thank you!