Currently, all dev publish_docs jobs are failing the Java 11 requirement (https://github.com/facebook/buck/blob/dev/build.xml#L365-L367 ).
This commit copies over Homebrew syntax from the main branch and swaps 8s for 11s (I've quickly confirmed that the new JDK identifiers actually exist).
I have not tested this - not sure whether it's possible to do so without actually making a pick request.