code: def _create_root_redirect(versions: _Versions, dest: Path) -> None:
      (dest / "index.html").write_text(
          f"""<html xmlns="http://www.w3.org/1999/xhtml">
    <head>
      <title>GPflow documentation</title>
      <meta http-equiv="refresh" content="0;URL='{versions.latest}/index.html'" />
    </head>
    <body>
      <p>Redirecting to the most recent release.</p>
    </body>
  </html>
  """
      )
  
file_path: GPflow/doc/update_versions.py
imports: import argparse
  import json
  from pathlib import Path
  from typing import Any, List, Mapping, Optional
  from packaging.version import Version
  from versions import Branch
label_desc: Use image node_id 1 for calling a global function with example usage: _create_root_redirect(versions, dest) without return types