Skip to content

Add factual document and breadcrumb structured data - #1266

Open
tannerlinsley wants to merge 1 commit into
taren/docs-freshness-uifrom
taren/docs-structured-data
Open

Add factual document and breadcrumb structured data#1266
tannerlinsley wants to merge 1 commit into
taren/docs-freshness-uifrom
taren/docs-structured-data

Conversation

@tannerlinsley

Copy link
Copy Markdown
Member

Documentation pages now identify their canonical page, technical article, publisher, and library-to-document breadcrumb in JSON-LD. Both generic and framework-specific routes use the same canonical URL they already publish in HTML. Modified dates come only from validated document freshness, and hidden libraries or missing documents emit no schema.

This is stacked on #1264 because the date metadata depends on that PR. JSON is serialized through the site's existing head scripts API with < escaped so authored text cannot close the script element.

Validation: full pnpm test passed, 526 tests passed and 3 skipped, TypeScript and lint clean. No-JavaScript browser checks cover both documentation routes, canonical and title agreement, undated documents, a dated fixture, safe script-like title text, and a missing-document 404. Schema.org's validator reports 0 errors and 0 warnings for the generated Start overview graph. Client navigation replaces the article and breadcrumb metadata without reloading the document or leaving duplicate article entities. All runtime checks passed in the final run.

@cloudflare-workers-and-pages

cloudflare-workers-and-pages Bot commented Sep 12, 2026

Copy link
Copy Markdown

Deploying with  Cloudflare Workers  Cloudflare Workers

The latest updates on your project. Learn more about integrating Git with Workers.

Status Name Latest Commit Preview URL Updated (UTC)
✅ Deployment successful!
View logs
tanstack-com 3b5994f Commit Preview URL

Branch Preview URL
Sep 12 2026, 12:32 AM

@coderabbitai

coderabbitai Bot commented Sep 12, 2026

Copy link
Copy Markdown

Important

Review skipped

Auto reviews are disabled on base/target branches other than the default branch.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Advanced

Run ID: 3209e2db-89db-4e2e-bf4f-7d5981411805

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant