chore: add gtag to static HTML head#323
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: a4430bb19e
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
| @@ -0,0 +1,552 @@ | |||
| import { defineConfig, McpSource } from "vocs/config"; | |||
There was a problem hiding this comment.
Consolidate Vocs config into a single canonical file
Adding vocs.config.tsx without removing or migrating vocs.config.ts creates two divergent sources of truth for docs configuration: in this repo, TypeScript checks still include only vocs.config.ts (tsconfig.json), while SDK drift tooling defaults to vocs.config.tsx (.github/actions/sdk-drift-check/check-sdk-drift.ts). This split makes future sidebar/redirect/head edits easy to apply in only one file, causing checks and runtime behavior to disagree; move to one config path and point all tooling at it.
Useful? React with 👍 / 👎.
Moves Google Analytics gtag snippet into the Vocs
headconfig so it renders in the static HTML<head>. This lets Google's verification crawler detect the tag (it doesn't execute JS).