code: def test_docs(tmp_path: Path) -> None:
      assert BUILD_DOCS_PATH.is_file()
      build_path = tmp_path / "build"
  
      try:
          subprocess.run(
              [
                  "python",
                  str(BUILD_DOCS_PATH),
                  "develop",
                  str(build_path),
                  "--limit-notebooks",
                  "--fail-on-warning",
              ]
          ).check_returncode()
      except subprocess.CalledProcessError as e:
          raise AssertionError(
              "Documentation build had errors / warnings."
              " Please fix."
              " Check both any .rst files you may have modified directly,"
              " and docstrings of your Python code."
          ) from e
  
label_desc: Use image node_id 1 for calling a global function with example usage: test_docs(tmp_path) without return types