Update documentation for Bazel 4.2.2

Closes #14368.

PiperOrigin-RevId: 413910728
diff --git a/scripts/docs/doc_versions.bzl b/scripts/docs/doc_versions.bzl
index 58351ef..c83191d 100644
--- a/scripts/docs/doc_versions.bzl
+++ b/scripts/docs/doc_versions.bzl
@@ -23,6 +23,10 @@
 
 DOC_VERSIONS = [
     {
+        "version": "4.2.2",
+        "sha256": "2447e768d8ae1f62fbf59809b5a4ef45967be6a6cedb66cec3daeb062de0b68e",
+    },
+    {
         "version": "4.2.1",
         "sha256": "b767b7aa949f96b602257587add3be38acbead03bf919fe871397bc80d97f8b2",
     },
diff --git a/site/_config.yml b/site/_config.yml
index 0b258be..611ae00 100644
--- a/site/_config.yml
+++ b/site/_config.yml
@@ -16,11 +16,12 @@
 url: "https://docs.bazel.build" # used by jekyll-sitemap
 
 # Update this to the newest release for the default docs.bazel.build version.
-version: "4.2.1"
+version: "4.2.2"
 
 # This must be kept in sync with //scripts/docs:doc_versions.bzl
 doc_versions:
   - main
+  - 4.2.2
   - 4.2.1
   - 4.2.0
   - 4.1.0