@hoodmane recently pointed out that he is unable to access the examples for the NumPy devdocs on his computer, so pages like https://numpy.org/devdocs/reference/generated/numpy.sin.html don't show the buttons.
I've opened this issue so that we could envision an improvement where we give website authors the ability to take the decision of disabling the examples, rather than taking the decision of disabling them ourselves and hardcoding that in our code. Another improvement could be to allow users to enable the examples somehow even if they are disabled.
The former should be easier, and we would need to think about the latter as the console is difficult to bring up for mobile devices.