/**
 * Copyright (c) Facebook, Inc. and its affiliates.
 *
 * This source code is licensed under the MIT license found in the
 * LICENSE file in the root directory of this source tree.
 *
 * @noformat
 */

// File to help with client-side redirect. No-op on relay.dev

@@ -261,8 +261,258 @@
 lay.dev%0A
+%0A'use strict';%0A%0A// redirect all paths of the form /docs/en/... to docs/...%0Aif (window.location.pathname.startsWith('/docs/en/')) %7B%0A  const newPath = window.location.pathname.replace(/%5E%5C/docs%5C/en%5C//, '/docs/');%0A  window.location.pathname = newPath;%0A%7D%0A

Replace docs/en/... with docs/...