docs: fix broken links in Go, Java, and evals pages

Merged
PR
2mo ago
+4-4

why

Three links in the v3 docs are broken, and two Go code samples were rewritten into links, so they no longer show valid Go.

what changed

  • v3/sdk/go.mdx: restore param.Override[T](value) and param.Override[stagehand.FooParams](12). Both had been turned into links to non-existent files (stagehand-go/blob/main/value and /12). The restored text matches the stagehand-go README.
  • v3/sdk/java.mdx: the OkHttp logging interceptor link pointed at square/okhttp/tree/master. That repo's default branch is main, and master no longer resolves.
  • v3/basics/evals.mdx: evals.config.json moved to packages/evals/evals.config.json. The link used the old top-level path.

test plan

Checked each new target on GitHub (packages/evals/evals.config.json on main, okhttp-logging-interceptor on okhttp main) and compared the Go snippets against the stagehand-go README. Docs-only change, no Changeset needed per CONTRIBUTING.md.


Summary by cubic

Fixes three broken links in the v3 docs.

  • Go: the param.Override[T](value) and param.Override[stagehand.FooParams](12) code samples were accidentally converted into links to non-existent files and are now back to valid Go.
  • Java: the OkHttp logging interceptor link now uses main instead of master.
  • Evals: the evals.config.json link now points to packages/evals/evals.config.json.