Skip to content

Add JSON-LD structured data for docs pages#220

Merged
DreamingInBinary merged 1 commit into
mainfrom
json-ld
Jun 24, 2026
Merged

Add JSON-LD structured data for docs pages#220
DreamingInBinary merged 1 commit into
mainfrom
json-ld

Conversation

@DreamingInBinary

Copy link
Copy Markdown
Contributor

Introduce a new structured-data module with helpers to build JSON-LD for docs pages and collection pages (buildDocsPageStructuredData, buildCollectionPageStructuredData, buildJsonLdScript, stringifyJsonLd). Add comprehensive tests for JSON-LD output and breadcrumb generation. Integrate structured data generation into the static cache script, the docs file route server loader, the index route, and the SDK selector page so pages include JSON-LD in their scripts. Also adjust page tree serialization to reuse a rawPageTree (avoid re-fetching) and apply small formatting/typing tweaks.

Introduce a new structured-data module with helpers to build JSON-LD for docs pages and collection pages (buildDocsPageStructuredData, buildCollectionPageStructuredData, buildJsonLdScript, stringifyJsonLd). Add comprehensive tests for JSON-LD output and breadcrumb generation. Integrate structured data generation into the static cache script, the docs file route server loader, the index route, and the SDK selector page so pages include JSON-LD in their scripts. Also adjust page tree serialization to reuse a rawPageTree (avoid re-fetching) and apply small formatting/typing tweaks.
@cloudflare-workers-and-pages

cloudflare-workers-and-pages Bot commented Jun 24, 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
superwall-docs-staging 9f358c7 Commit Preview URL

Branch Preview URL
Jun 24 2026, 02:47 PM

@DreamingInBinary DreamingInBinary merged commit 0100c52 into main Jun 24, 2026
2 checks passed
@DreamingInBinary DreamingInBinary deleted the json-ld branch June 24, 2026 14:55
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